feat(api): fixed update alerts

This commit is contained in:
Taha Yassine Kraiem 2022-01-13 14:25:06 +01:00
parent 13a3ec577c
commit 8bd852d79c

View file

@ -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,