Skip to content

Commit

Permalink
Remove config mention
Browse files Browse the repository at this point in the history
  • Loading branch information
MvRemmerden committed Jun 29, 2024
1 parent c7d8ceb commit 6754eed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/createUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { DecodedIdToken } from 'firebase-admin/auth'
import isClientSide from 'src/isClientSide'
import { Claims, filterStandardClaims } from 'src/claims'
import { User } from './sharedTypes'
import { getConfig } from './config'

interface UserDeserialized {
id?: string
Expand Down Expand Up @@ -105,9 +104,7 @@ const createUser = ({
const { getApp } = require('firebase/app')
// eslint-disable-next-line global-require, @typescript-eslint/no-var-requires
const { getAuth, signOut } = require('firebase/auth')
const { firebaseClientAppName } = getConfig()

signOutFunc = async () => signOut(getAuth(getApp(firebaseClientAppName)))
signOutFunc = async () => signOut(getAuth(getApp()))
}

Expand Down

0 comments on commit 6754eed

Please sign in to comment.