diff --git a/server/api/quiz/submit.post.ts b/server/api/quiz/submit.post.ts index 4f8bc73..a4b5b6e 100644 --- a/server/api/quiz/submit.post.ts +++ b/server/api/quiz/submit.post.ts @@ -100,6 +100,7 @@ async function submitResponse( const { data, error } = await client .from('quiz_responses') .insert(response) + .select() .single(); if (error) {