Skip to content

Commit

Permalink
Merge pull request #632 from UnitapApp/fix/gitcoin-passport-humanity-…
Browse files Browse the repository at this point in the history
…score

Fix gitcoinPassport problem
  • Loading branch information
PooyaFekri authored Sep 21, 2024
2 parents 5d6778d + 9da6bbe commit ca9b8e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions authentication/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ class GitcoinPassportConnection(BaseThirdPartyConnection):

@property
def score(self):
score_tuple = self.driver.get_score(self.user_wallet_address)
return score_tuple[0] if score_tuple else 0.0
_score = self.driver.submit_passport(self.user_wallet_address)
return _score


@receiver(pre_save, sender=GitcoinPassportConnection)
Expand Down

0 comments on commit ca9b8e6

Please sign in to comment.