fix setem fluw
This commit is contained in:
parent
805846a494
commit
9a90d87d69
|
@ -137,7 +137,6 @@ class VerifyView(View):
|
||||||
vp_token.verifing()
|
vp_token.verifing()
|
||||||
response = vp_token.get_response_verify()
|
response = vp_token.get_response_verify()
|
||||||
vp_token.save()
|
vp_token.save()
|
||||||
if not vp_token.authorization.promotions.exists():
|
|
||||||
response["response"] = "Validation Code {}".format(code)
|
response["response"] = "Validation Code {}".format(code)
|
||||||
|
|
||||||
return JsonResponse(response)
|
return JsonResponse(response)
|
||||||
|
|
|
@ -14,7 +14,10 @@ from promotion.models import Promotion
|
||||||
|
|
||||||
|
|
||||||
class WalletForm(forms.Form):
|
class WalletForm(forms.Form):
|
||||||
organization = forms.ChoiceField(choices=[])
|
organization = forms.ChoiceField(
|
||||||
|
choices=[],
|
||||||
|
widget=forms.Select(attrs={'class': 'form-select'})
|
||||||
|
)
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
self.presentation_definition = kwargs.pop('presentation_definition', [])
|
self.presentation_definition = kwargs.pop('presentation_definition', [])
|
||||||
|
|
Loading…
Reference in New Issue