diff --git a/authentication/models.py b/authentication/models.py index 2dcb694..11e79a2 100644 --- a/authentication/models.py +++ b/authentication/models.py @@ -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)