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