fix: list_ownerships()
authorbrett-schneider <github@cbret.de>
Sun, 11 Oct 2020 17:30:35 +0000 (19:30 +0200)
committerbrett-schneider <github@cbret.de>
Sun, 11 Oct 2020 17:30:35 +0000 (19:30 +0200)
tweepy/models.py

index 5e0bab566e797031ed0d7d588cdfb7fc7467bae0..27bbaa1c844c352fb4871b6e9449cf8f7c366cb9 100644 (file)
@@ -201,7 +201,7 @@ class User(Model):
                                            **kwargs)
 
     def lists_ownerships(self, *args, **kwargs):
-        return self._api.lists_memberships(user_id=self.id,
+        return self._api.lists_ownerships(user_id=self.id,
                                            *args,
                                            **kwargs)