BE: Test fixes

This commit is contained in:
Jokob @NetAlertX
2025-11-14 10:46:35 +00:00
parent bfe6987867
commit a45de018fb
4 changed files with 8 additions and 6 deletions

View File

@@ -81,7 +81,7 @@ def graphql_endpoint():
if not is_authorized():
msg = '[graphql_server] Unauthorized access attempt - make sure your GRAPHQL_PORT and API_TOKEN settings are correct.'
mylog('verbose', [msg])
return jsonify({"success": False, "message": msg}), 401
return jsonify({"success": False, "message": msg, "error": "Forbidden"}), 401
# Retrieve and log request data
data = request.get_json()