feat(api): fixed update alerts
This commit is contained in:
parent
13a3ec577c
commit
8bd852d79c
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue