Skip to content

Commit

Permalink
Fix farcaster following constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
PooyaFekri committed Sep 18, 2024
1 parent 2b0df88 commit 2ac51b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/thirdpartyapp/farcaster.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def is_following(self, fid: str, address: str) -> bool:
"""
try:
follower_fid = self._get_profile(address)["fid"]
return self._get_followers_status(follower_fid, fid)
return self._get_followers_status(follower_fid, fid)[fid]
except (
RequestException,
IndexError,
Expand All @@ -153,7 +153,7 @@ def be_followed_by(self, fid: str, address: str):
"""
try:
following_fid = self._get_profile(address)["fid"]
return self._get_follow_status(fid, following_fid)
return self._get_follow_status(fid, following_fid)[following_fid]
except (
RequestException,
IndexError,
Expand Down

0 comments on commit 2ac51b9

Please sign in to comment.