Skip to content

Commit 84b6ba1

Browse files
committed
add return to endpoint
1 parent 884d215 commit 84b6ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def v1_ask():
8282
response = handle_ask_request(request, session)
8383
return response
8484
else:
85-
jsonify({"error": "Invalid or missing Ask Token"}), 401
85+
return jsonify({"error": "Invalid or missing Ask Token"}), 401
8686

8787
@app.route('/trigger-rebuild', methods=['POST'])
8888
@csrf.exempt

0 commit comments

Comments
 (0)