Improve payload type consistency for API.no_retweets_friendships
authorHarmon <Harmon758@gmail.com>
Wed, 7 Apr 2021 18:17:20 +0000 (13:17 -0500)
committerHarmon <Harmon758@gmail.com>
Wed, 7 Apr 2021 18:17:20 +0000 (13:17 -0500)
tweepy/api.py

index 42bfb2ac1336e9c188d8198fc70c737d53b9483c..0dec71af09c294be216e9c60cc1ce1a69dc6ab49 100644 (file)
@@ -1529,7 +1529,7 @@ class API:
             user_id=list_to_csv(user_id), **kwargs
         )
 
-    @payload('json')
+    @payload('ids')
     def no_retweets_friendships(self, **kwargs):
         """no_retweets_friendships(*, stringify_ids)