Skip to content

Commit 1b366ee

Browse files
committed
desperate attempt
1 parent bbed789 commit 1b366ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supabase/functions/inituser/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Deno.serve(async (req) => {
6464
const { data: userExists, error: userExistsError } = await supabase
6565
.from("users")
6666
.select("id")
67-
.eq("id", uid)
67+
.eq("id", supabase.rpc('uuid',uid))
6868
.single();
6969

7070
if (userExistsError || !userExists) {

0 commit comments

Comments
 (0)