Skip to content

Commit 8ebf221

Browse files
committed
PR feedback
1 parent d7d8c02 commit 8ebf221

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages-exp/auth-exp/src/core/auth/register.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ import { AuthErrorCode } from '../errors';
2424
import { assert } from '../util/assert';
2525
import { _getClientVersion, ClientPlatform } from '../util/version';
2626
import {
27-
_castAuth,
28-
AuthImpl,
29-
DEFAULT_API_HOST,
30-
DEFAULT_API_SCHEME,
31-
DEFAULT_TOKEN_API_HOST
27+
_castAuth, AuthImpl, DEFAULT_API_HOST, DEFAULT_API_SCHEME, DEFAULT_TOKEN_API_HOST
3228
} from './auth_impl';
3329
import { AuthInternal } from './firebase_internal';
3430

@@ -79,7 +75,7 @@ export function registerAuth(clientPlatform: ClientPlatform): void {
7975
_AUTH_INTERNAL_COMPONENT_NAME,
8076
container => {
8177
const auth = _castAuth(
82-
container.getProvider('auth-exp').getImmediate()!
78+
container.getProvider(_AUTH_COMPONENT_NAME).getImmediate()!
8379
);
8480
return (auth => new AuthInternal(auth))(auth);
8581
},

0 commit comments

Comments
 (0)