mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2025-12-06 06:21:36 +01:00
fix: add return view to endpoint
This commit is contained in:
@@ -183,6 +183,8 @@ def downtime():
|
||||
minutes = int(flask.request.args.get("minutes") or 5)
|
||||
app.config["DOWNTIME"] = datetime.datetime.now() + datetime.timedelta(minutes=minutes)
|
||||
|
||||
return ('', 204)
|
||||
|
||||
|
||||
@app.route('/settings', methods=["GET", "POST"])
|
||||
def settings():
|
||||
|
||||
Reference in New Issue
Block a user