From 6f358f8f7cf564e623618736df0c0c9b558cf416 Mon Sep 17 00:00:00 2001 From: Bryan Hu Date: Sat, 2 Mar 2024 10:36:25 -0800 Subject: [PATCH] this too --- apps/nextjs/src/app/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nextjs/src/app/actions.ts b/apps/nextjs/src/app/actions.ts index ab5ed1a..5238b9a 100644 --- a/apps/nextjs/src/app/actions.ts +++ b/apps/nextjs/src/app/actions.ts @@ -6,7 +6,7 @@ import { redirect } from "next/navigation"; import { createClient } from "@/lib/utils/supabase/server"; export async function signup(formData: FormData) { - const supabase = createClient(); + const supabase = await createClient(); // type-casting here for convenience // in practice, you should validate your inputs