Skip to content

Commit

Permalink
Remove id endpoint parameter for API.create_friendship
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Feb 12, 2021
1 parent 53ca00f commit 6a3c1ab
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 @@ -559,7 +559,7 @@ def create_friendship(self, *args, **kwargs):
"""
return self.request(
'POST', 'friendships/create', *args, endpoint_parameters=(
'id', 'user_id', 'screen_name', 'follow'
'user_id', 'screen_name', 'follow'
), **kwargs
)

Expand Down

0 comments on commit 6a3c1ab

Please sign in to comment.