We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39abe29 commit 05c0fe0Copy full SHA for 05c0fe0
1 file changed
convex/auth/component.ts
@@ -20,14 +20,6 @@ import type { DataModel } from '../_generated/dataModel'
20
21
const authFunctions: AuthFunctions = internal.auth.component
22
23
-function getRequiredEnv(name: string): string {
24
- const value = process.env[name]
25
- if (!value) {
26
- throw new Error(`Missing required environment variable: ${name}`)
27
- }
28
- return value
29
-}
30
-
31
export const authComponent = createClient<DataModel>(components.betterAuth, {
32
authFunctions,
33
triggers: {
0 commit comments