Skip to content

Commit

Permalink
Merge pull request #629 from UnitapApp/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
PooyaFekri authored Sep 18, 2024
2 parents b53b15e + f08c507 commit 28e181a
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 28e181a

Please sign in to comment.