mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-20 16:16:06 -04:00
BE: Test fixes
This commit is contained in:
1 parent
bfe6987867
commit
a45de018fb
4 files changed
+8
-6
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user