fix
This commit is contained in:
parent
574fac40ca
commit
d03c1b017e
|
@ -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)
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue