fix not validate

This commit is contained in:
Cayo Puigdefabregas 2023-11-29 12:32:58 +01:00
parent 5e76b4631f
commit 3ba9a7ab88
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ class AuthorizationView(View):
class VerifyView(View):
def get(self, request, *args, **kwargs):
org = self.validate(request)
if not org:
return Http404("Organization not found!")
presentation_definition = json.dumps(settings.SUPPORTED_CREDENTIALS)
authorization = Authorization(
organization=org,