Update app.py
This commit is contained in:
parent
73f836df60
commit
27eb2a2d0e
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
|
@ -83,7 +83,7 @@ def webhook():
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
summary = f"Alert {alert_state}: {alert_name}. (Claude enrichment failed: {e})"
|
summary = f"Alert {alert_state}: {alert_name}. (Claude enrichment failed: {e})"
|
||||||
|
|
||||||
title = f"🔔 {alert_name} [{alert_state.upper()}]"
|
title = f"{alert_name} [{alert_state.upper()}]"
|
||||||
send_ntfy(title, summary, priority=priority, tags=tags)
|
send_ntfy(title, summary, priority=priority, tags=tags)
|
||||||
|
|
||||||
return jsonify({"status": "ok"}), 200
|
return jsonify({"status": "ok"}), 200
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue