We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfacea0 commit da2264cCopy full SHA for da2264c
1 file changed
apps/cli-go/internal/functions/new/templates/index_auth_mode_apikey.ts
@@ -16,7 +16,7 @@ export default {
16
// Called by another service with a secret key
17
// ctx.supabaseAdmin bypasses RLS — use for privileged operations
18
/*
19
- if (ctx.authType === "secret") {
+ if (ctx.authMode === "secret") {
20
const { user_id } = await req.json();
21
const { data } = await ctx.supabaseAdmin.auth.admin.getUserById(user_id);
22
0 commit comments