Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Fix secret key fetching in remote init script.

Matthieu Hochlanderf7ee6b9bb8f6
diff --git a/scripts/supabase-remote-init.mjs b/scripts/supabase-remote-init.mjs
index b2bca972..443e9c6d 100644
--- a/scripts/supabase-remote-init.mjs
+++ b/scripts/supabase-remote-init.mjs
@@ -17,7 +17,7 @@ import fs from "node:fs";
await waitForProjectToBeReady({ projectRef });
// This also ensures the project is ready
- const { publishableKey } = await fetchApiKeys({
+ const { publishableKey, secretKey } = await fetchApiKeys({
projectRef,
});