fix(chalice): fixed delete cards (#1697)
This commit is contained in:
parent
2bf450ff6a
commit
92fedd310c
1 changed files with 2 additions and 1 deletions
|
|
@ -546,7 +546,8 @@ def delete_card(project_id, metric_id, user_id):
|
|||
SET deleted_at = timezone('utc'::text, now()), edited_at = timezone('utc'::text, now())
|
||||
WHERE project_id = %(project_id)s
|
||||
AND metric_id = %(metric_id)s
|
||||
AND (user_id = %(user_id)s OR is_public);""",
|
||||
AND (user_id = %(user_id)s OR is_public)
|
||||
RETURNING data;""",
|
||||
{"metric_id": metric_id, "project_id": project_id, "user_id": user_id})
|
||||
)
|
||||
# for EE only
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue