Skip to content

Commit

Permalink
Merge pull request #635 from UnitapApp/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
PooyaFekri authored Sep 21, 2024
2 parents 16dbc9b + b42eace commit ead8660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authentication/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class GitcoinPassportConnection(BaseThirdPartyConnection):
@property
def score(self):
_score = self.driver.submit_passport(self.user_wallet_address)
return _score
return _score if _score is not None else 0


@receiver(pre_save, sender=GitcoinPassportConnection)
Expand Down

0 comments on commit ead8660

Please sign in to comment.