Spaces:
Sleeping
Sleeping
Update honeypot_api.py
Browse files- honeypot_api.py +1 -1
honeypot_api.py
CHANGED
|
@@ -181,7 +181,7 @@ def health_check():
|
|
| 181 |
@app.route("/honeypot/message", methods=["POST"])
|
| 182 |
def honeypot_message():
|
| 183 |
|
| 184 |
-
if verify_api_key(request):
|
| 185 |
return jsonify({"error":"Unauthorized"}), 401
|
| 186 |
|
| 187 |
data = request.get_json()
|
|
|
|
| 181 |
@app.route("/honeypot/message", methods=["POST"])
|
| 182 |
def honeypot_message():
|
| 183 |
|
| 184 |
+
if not verify_api_key(request):
|
| 185 |
return jsonify({"error":"Unauthorized"}), 401
|
| 186 |
|
| 187 |
data = request.get_json()
|