From 699a74f093297da3145b1e128da624b3bfa75926 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Tue, 9 Sep 2025 17:29:11 +1000 Subject: [PATCH] feat: Add api route to dismiss alert --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 43d3d8c..606de27 100644 --- a/main.py +++ b/main.py @@ -1946,6 +1946,7 @@ def add_alert(name:str,output:str,account:str="all"): pass @app.route('/dismiss/') +@app.route('/api/v1/dismiss/') def dismiss_alert(alert_id): # Check if the user is logged in if request.cookies.get("account") is None: