Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
fix: add select to update to supabase v2 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmaribojoc authored Dec 16, 2022
1 parent 26f3f07 commit 2c8bbe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/api/quiz/submit.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ async function submitResponse(
const { data, error } = await client
.from<Response>('quiz_responses')
.insert(response)
.select()
.single();

if (error) {
Expand Down

0 comments on commit 2c8bbe8

Please sign in to comment.