Remove id endpoint parameter for API.destroy_mute
authorHarmon <Harmon758@gmail.com>
Sun, 14 Feb 2021 06:09:58 +0000 (00:09 -0600)
committerHarmon <Harmon758@gmail.com>
Sun, 14 Feb 2021 06:09:58 +0000 (00:09 -0600)
tweepy/api.py

index 259b1c9f140b27abfebd6b8a081038ab107c504d..1d573ea68424a59cdba8bbad15690031842d10e2 100644 (file)
@@ -828,7 +828,7 @@ class API:
         """
         return self.request(
             'POST', 'mutes/users/destroy', *args, endpoint_parameters=(
-                'id', 'user_id', 'screen_name'
+                'user_id', 'screen_name'
             ), **kwargs
         )