diff --git a/app/api/views/new_random_alias.py b/app/api/views/new_random_alias.py index 4d097b0c..978d9756 100644 --- a/app/api/views/new_random_alias.py +++ b/app/api/views/new_random_alias.py @@ -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")