mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-04-01 15:14:41 -05:00
Fixed Message Endpoint. Currently, has Placeholder text.
This commit is contained in:
parent
6175ffba61
commit
5ff03ab2c8
|
|
@ -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"})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user