Fixed Message Endpoint. Currently, has Placeholder text.

This commit is contained in:
ZKWolf 2023-06-26 18:58:17 +02:00
parent 6175ffba61
commit 5ff03ab2c8

View File

@ -17,7 +17,7 @@ def gamenews():
faction = request.args.get('faction')
playerLevel = request.args.get('playerLevel')
print("Responded to game news api call GET")
return {"data": [
return jsonify({"data": [
{
"Id": "1",
"MessageType": "Daily",
@ -49,7 +49,7 @@ def gamenews():
}
]
}
]}
]})
except TimeoutError:
print("Timeout error")
return jsonify({"status": "error"})