Compare commits
2 Commits
27a086a5c0
...
3589564b7f
Author | SHA1 | Date |
---|---|---|
Ferdinand Thiessen | 3589564b7f | |
Ferdinand Thiessen | e510c54bd8 |
|
@ -104,7 +104,7 @@ def frontend(userid, current_session):
|
||||||
raise Forbidden
|
raise Forbidden
|
||||||
|
|
||||||
if request.method == "POST":
|
if request.method == "POST":
|
||||||
if request.content_length > 1024 ** 2:
|
if request.content_length > 1024**2:
|
||||||
raise BadRequest
|
raise BadRequest
|
||||||
current_session.user_.set_attribute("frontend", request.get_json())
|
current_session.user_.set_attribute("frontend", request.get_json())
|
||||||
return no_content()
|
return no_content()
|
||||||
|
|
Loading…
Reference in New Issue