mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-08-18 15:16:27 -05:00
Fixed Message Endpoint. Currently, has Placeholder text.
This commit is contained in:
@@ -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"})
|
||||
|
||||
Reference in New Issue
Block a user