mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 21:32:40 +00:00
Get basic calls test passing again
This commit is contained in:
parent
1135aeecb8
commit
9f39dcf7cf
1 changed files with 2 additions and 2 deletions
|
@ -1110,7 +1110,7 @@ where
|
||||||
FROM projects, project_collaborators
|
FROM projects, project_collaborators
|
||||||
WHERE
|
WHERE
|
||||||
projects.room_id = $1 AND
|
projects.room_id = $1 AND
|
||||||
projects.user_id = $2 AND
|
projects.host_user_id = $2 AND
|
||||||
projects.id = project_collaborators.project_id
|
projects.id = project_collaborators.project_id
|
||||||
",
|
",
|
||||||
)
|
)
|
||||||
|
@ -1144,7 +1144,7 @@ where
|
||||||
sqlx::query(
|
sqlx::query(
|
||||||
"
|
"
|
||||||
DELETE FROM projects
|
DELETE FROM projects
|
||||||
WHERE room_id = $1 AND user_id = $2
|
WHERE room_id = $1 AND host_user_id = $2
|
||||||
",
|
",
|
||||||
)
|
)
|
||||||
.bind(room_id)
|
.bind(room_id)
|
||||||
|
|
Loading…
Reference in a new issue