diff --git a/api/chalicelib/core/alerts.py b/api/chalicelib/core/alerts.py index ef35d48b3..42411b8bc 100644 --- a/api/chalicelib/core/alerts.py +++ b/api/chalicelib/core/alerts.py @@ -110,7 +110,7 @@ def update(id, data: schemas.AlertSchema): UPDATE public.alerts SET name = %(name)s, description = %(description)s, - active = %(active)s, + active = TRUE, detection_method = %(detection_method)s, query = %(query)s, options = %(options)s,