Skip to content

Commit

Permalink
fix user_friendships_v1 user_ids form data
Browse files Browse the repository at this point in the history
  • Loading branch information
CrucifiedMidget committed Jul 14, 2022
1 parent f0375d8 commit 30097f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion instagrapi/mixins/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,10 @@ def user_friendships_v1(self, user_ids: List[str]) -> dict:
-------
dict
"""
user_ids_str = ','.join(user_ids)
result = self.private_request(
"friendships/show_many/",
data={"user_ids": user_ids},
data={"user_ids": user_ids_str},
with_signature=False
)
return result["friendship_statuses"]
Expand Down

0 comments on commit 30097f1

Please sign in to comment.