This commit is contained in:
Cayo Puigdefabregas 2024-03-07 17:03:35 +01:00
parent 574fac40ca
commit d03c1b017e
2 changed files with 2 additions and 2 deletions

View file

@ -267,7 +267,7 @@ class OAuth2VPToken(models.Model):
def verifing(self):
self.result_verify = verify_presentation(self.vp_token)
def get_verifing(self):
def get_result_verify(self):
if not self.result_verify:
return {}
return json.loads(self.result_verify)

View file

@ -141,7 +141,7 @@ class VerifyView(View):
code=code
)
if not vp_token.authorization:
if not self.vp_token.authorization:
raise Http404("Page not Found!")
self.vp_token.verifing()