mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 00:48:32 +01:00
fix get_json returns 400
This commit is contained in:
parent
eb66900ba3
commit
ab082a5f9b
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def new_random_alias():
|
|||
)
|
||||
|
||||
note = None
|
||||
data = request.get_json()
|
||||
data = request.get_json(silent=True)
|
||||
if data:
|
||||
note = data.get("note")
|
||||
|
||||
|
|
Loading…
Reference in a new issue