Skip to content

Commit 876a712

Browse files
authored
Merge pull request #152 from PotLock/dev
Dev -> Prod
2 parents 34b68f8 + 57da50f commit 876a712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pots/serializers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ class MpdaoSnapshotSerializer(serializers.Serializer):
353353

354354
staking_token_id = serializers.SerializerMethodField() # mpdao is only available on mainnet,
355355

356-
def get_is_human(self, obj):
356+
def get_is_human(self, obj) -> bool:
357357
voter_id = obj.get('voter_id')
358358
url = f"https://rpc.web4.near.page/account/v1.nadabot.near/view/is_human?account_id={voter_id}"
359359
response = requests.get(url)

0 commit comments

Comments
 (0)