From 2c8bbe8c59b20fa7d77ea08c3a91eb865c9d4236 Mon Sep 17 00:00:00 2001 From: Matt Maribojoc Date: Fri, 16 Dec 2022 08:33:59 -0500 Subject: [PATCH] fix: add select to update to supabase v2 (#17) --- server/api/quiz/submit.post.ts | 1 + 1 file changed, 1 insertion(+) 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) {