fix not validate
This commit is contained in:
parent
5e76b4631f
commit
3ba9a7ab88
|
@ -24,6 +24,8 @@ class AuthorizationView(View):
|
||||||
class VerifyView(View):
|
class VerifyView(View):
|
||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
org = self.validate(request)
|
org = self.validate(request)
|
||||||
|
if not org:
|
||||||
|
return Http404("Organization not found!")
|
||||||
presentation_definition = json.dumps(settings.SUPPORTED_CREDENTIALS)
|
presentation_definition = json.dumps(settings.SUPPORTED_CREDENTIALS)
|
||||||
authorization = Authorization(
|
authorization = Authorization(
|
||||||
organization=org,
|
organization=org,
|
||||||
|
|
Loading…
Reference in New Issue