fix(chalice): changed delete-metadata (#2268)
This commit is contained in:
parent
be15f89677
commit
904d861bc2
1 changed files with 0 additions and 7 deletions
|
|
@ -132,13 +132,6 @@ def delete(tenant_id, project_id, index: int):
|
|||
WHERE project_id = %(project_id)s AND deleted_at ISNULL;""",
|
||||
{"project_id": project_id})
|
||||
cur.execute(query=query)
|
||||
query = cur.mogrify(f"""UPDATE public.sessions
|
||||
SET {colname}= NULL
|
||||
WHERE project_id = %(project_id)s
|
||||
AND {colname} IS NOT NULL
|
||||
""",
|
||||
{"project_id": project_id})
|
||||
cur.execute(query=query)
|
||||
|
||||
return {"data": get(project_id)}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue