mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-07-18 17:03:48 -05:00
Fixed GameDataAnalytics
This commit is contained in:
parent
840bd3ff53
commit
3adc14eaa6
|
|
@ -1,3 +1,5 @@
|
|||
import uuid
|
||||
|
||||
from flask_definitions import *
|
||||
|
||||
|
||||
|
|
@ -33,7 +35,10 @@ def analytics_post():
|
|||
try:
|
||||
data = request.get_json()
|
||||
logger.graylog_logger(level="info", handler="logging_gameDataAnalytics", message=data)
|
||||
return jsonify({"status": "success"})
|
||||
rand_record_id = uuid.uuid4()
|
||||
return jsonify({
|
||||
"RecordId": f"{rand_record_id}"
|
||||
})
|
||||
except TimeoutError:
|
||||
return jsonify({"status": "error"})
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user