diff --git a/core/thirdpartyapp/farcaster.py b/core/thirdpartyapp/farcaster.py index 7e81843..b5201e7 100644 --- a/core/thirdpartyapp/farcaster.py +++ b/core/thirdpartyapp/farcaster.py @@ -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, @@ -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,