From 6754eed7ef393a4e1bd307cd56c1022bab4ee072 Mon Sep 17 00:00:00 2001 From: Marcel van Remmerden Date: Sat, 29 Jun 2024 09:34:09 +0000 Subject: [PATCH] Remove config mention --- src/createUser.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/createUser.ts b/src/createUser.ts index 88ac9cfd..a2113dba 100644 --- a/src/createUser.ts +++ b/src/createUser.ts @@ -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 @@ -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())) }