Skip to content

Commit

Permalink
Stop allowing positional arguments for API.mutes
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Feb 14, 2021
1 parent 2967104 commit 9e9d370
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tweepy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,11 +803,11 @@ def mutes_ids(self, **kwargs):

@pagination(mode='cursor')
@payload('user', list=True)
def mutes(self, *args, **kwargs):
def mutes(self, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-mutes-users-list
"""
return self.request(
'GET', 'mutes/users/list', *args, endpoint_parameters=(
'GET', 'mutes/users/list', endpoint_parameters=(
'cursor', 'include_entities', 'skip_status'
), **kwargs
)
Expand Down

0 comments on commit 9e9d370

Please sign in to comment.