better message sending
This commit is contained in:
@@ -49,7 +49,7 @@ def _tail(path: Path, line_count: int = 50) -> str:
|
||||
return ""
|
||||
|
||||
|
||||
@app.route(f"{URL_PREFIX}/event", methods=["GET", "POST"])
|
||||
@app.post(f"{URL_PREFIX}/event")
|
||||
def add_event():
|
||||
data = request.get_json(silent=True)
|
||||
if data is None:
|
||||
|
||||
Reference in New Issue
Block a user