fix url empty
This commit is contained in:
parent
43aad9e187
commit
1746d44dec
|
@ -236,7 +236,8 @@ class AllowCodeView(View):
|
|||
)
|
||||
if self.request.session.get("response_uri"):
|
||||
url = self.send_api()
|
||||
return redirect(url)
|
||||
if url:
|
||||
return redirect(url)
|
||||
|
||||
promotion = self.authorization.promotions.first()
|
||||
if not promotion:
|
||||
|
|
Loading…
Reference in New Issue