mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 13:24:19 +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
|
||||
WHERE
|
||||
projects.room_id = $1 AND
|
||||
projects.user_id = $2 AND
|
||||
projects.host_user_id = $2 AND
|
||||
projects.id = project_collaborators.project_id
|
||||
",
|
||||
)
|
||||
|
@ -1144,7 +1144,7 @@ where
|
|||
sqlx::query(
|
||||
"
|
||||
DELETE FROM projects
|
||||
WHERE room_id = $1 AND user_id = $2
|
||||
WHERE room_id = $1 AND host_user_id = $2
|
||||
",
|
||||
)
|
||||
.bind(room_id)
|
||||
|
|
Loading…
Reference in a new issue