Skip to content

Commit 578d46c

Browse files
committed
rename to match style
1 parent 8189b59 commit 578d46c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/storage/src/implementation/authwrapper.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import { FirebaseAuthInternal } from '@firebase/auth-interop-types';
4242
*/
4343
export class AuthWrapper {
4444
private app_: FirebaseApp | null;
45-
private authProvider: Provider<FirebaseAuthInternal>;
45+
private authProvider_: Provider<FirebaseAuthInternal>;
4646
private bucket_: string | null = null;
4747

4848
private storageRefMaker_: (p1: AuthWrapper, p2: Location) => Reference;
@@ -69,7 +69,7 @@ export class AuthWrapper {
6969
this.bucket_ = AuthWrapper.extractBucket_(options);
7070
}
7171
}
72-
this.authProvider = authProvider;
72+
this.authProvider_ = authProvider;
7373
this.storageRefMaker_ = maker;
7474
this.requestMaker_ = requestMaker;
7575
this.pool_ = pool;
@@ -89,7 +89,7 @@ export class AuthWrapper {
8989
}
9090

9191
getAuthToken(): Promise<string | null> {
92-
const auth = this.authProvider.getImmediate(undefined, { optional: true });
92+
const auth = this.authProvider_.getImmediate(undefined, { optional: true });
9393
if (auth) {
9494
return auth.getToken().then(
9595
(response: FirebaseAuthTokenData | null): string | null => {

0 commit comments

Comments
 (0)