Skip to content

Commit

Permalink
fix(serverSupabaseServiceRole): Pass H3Event into useRuntimeConfig (#450
Browse files Browse the repository at this point in the history
)
  • Loading branch information
blackburn32 authored Jan 20, 2025
1 parent 3783606 commit 2de1c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/server/services/serverSupabaseServiceRole.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const serverSupabaseServiceRole: <T = Database>(event: H3Event) => Supaba
public: {
supabase: { url },
},
} = useRuntimeConfig()
} = useRuntimeConfig(event)

// Make sure service key is set
if (!serviceKey) {
Expand Down

0 comments on commit 2de1c08

Please sign in to comment.