diff --git a/app/support/rest.py b/app/support/rest.py index ec4fb12ac0..5d784b7058 100644 --- a/app/support/rest.py +++ b/app/support/rest.py @@ -101,4 +101,4 @@ def query_id(id): if results: return jsonify(results) - return jsonify(data={"type": "no result found"}) + return jsonify({"type": "no result found"})