Make status consistent upper case
This commit is contained in:
parent
03e4016b4b
commit
2a02adf14d
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ def serve(servername, port, id):
|
|||
|
||||
@app.route('/api/status')
|
||||
def status():
|
||||
status = "online" # TODO implement me
|
||||
status = "ONLINE" # TODO implement me
|
||||
return Response(json.dumps({"server" : servername, "devices": id, "status": status}), status=400, content_type='text/plain')
|
||||
|
||||
# JSON API ----------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue