pcm
This commit is contained in:
parent
64b7c25894
commit
f244e78360
1 changed files with 2 additions and 2 deletions
|
@ -857,8 +857,8 @@ def submit_post(v):
|
||||||
except UploadException as e:
|
except UploadException as e:
|
||||||
if request.headers.get("Authorization"):
|
if request.headers.get("Authorization"):
|
||||||
return {
|
return {
|
||||||
"error": str(e),
|
"error": str(e),
|
||||||
}, 400
|
}, 400
|
||||||
else:
|
else:
|
||||||
return render_template(
|
return render_template(
|
||||||
"submit.html",
|
"submit.html",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue