Skip to content

Commit

Permalink
Fix twitter batch follow
Browse files Browse the repository at this point in the history
  • Loading branch information
PooyaFekri committed Aug 11, 2024
1 parent c6581d0 commit ddd559b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/thirdpartyapp/twitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def is_following_batch(
response.raise_for_status()
data = response.json()
followings = set(data.get("ids", []))
for id_, is_following in res:
for id_, is_following in res.items():
if is_following:
continue
res[id_] = id_ in followings
Expand Down

0 comments on commit ddd559b

Please sign in to comment.