Skip to content

Commit 05c0fe0

Browse files
committed
resolve type issue
1 parent 39abe29 commit 05c0fe0

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

convex/auth/component.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ import type { DataModel } from '../_generated/dataModel'
2020

2121
const authFunctions: AuthFunctions = internal.auth.component
2222

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-
3123
export const authComponent = createClient<DataModel>(components.betterAuth, {
3224
authFunctions,
3325
triggers: {

0 commit comments

Comments
 (0)