mirror of
https://github.com/simple-login/app.git
synced 2025-02-27 09:13:26 +08: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
|
note = None
|
||||||
data = request.get_json()
|
data = request.get_json(silent=True)
|
||||||
if data:
|
if data:
|
||||||
note = data.get("note")
|
note = data.get("note")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue