We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66e794b commit 166d2f2Copy full SHA for 166d2f2
backend/server/src/service/answer.rs
@@ -13,7 +13,7 @@ pub async fn user_is_answer_owner(
13
SELECT FROM answers ans
14
JOIN applications app ON ans.application_id = app.id
15
WHERE ans.id = $1 AND app.user_id = $2
16
- )
+ ) sub
17
)
18
",
19
answer_id,
backend/server/src/service/application.rs
@@ -43,7 +43,7 @@ pub async fn user_is_application_owner(
43
SELECT EXISTS(
44
SELECT 1 FROM (
45
SELECT FROM applications WHERE id = $1 AND user_id = $2
46
47
48
49
application_id,
0 commit comments