Skip to content

Commit

Permalink
Remove id endpoint parameter for API.destroy_friendship
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Feb 12, 2021
1 parent 82cd798 commit 66f1612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tweepy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def destroy_friendship(self, *args, **kwargs):
"""
return self.request(
'POST', 'friendships/destroy', *args, endpoint_parameters=(
'id', 'user_id', 'screen_name'
'user_id', 'screen_name'
), **kwargs
)

Expand Down

0 comments on commit 66f1612

Please sign in to comment.