Skip to content

Commit 4808d25

Browse files
Don't mangle getAuthHeaderValueForFirstParty
1 parent b33da3f commit 4808d25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/firestore/src/api/credentials.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ export class FirstPartyToken implements Token {
297297
const headers: { [header: string]: string } = {
298298
'X-Goog-AuthUser': this.sessionIndex
299299
};
300-
const authHeader = this.gapi.auth.getAuthHeaderValueForFirstParty([]);
300+
// Use array notation to prevent minification
301+
const authHeader = this.gapi['auth']['getAuthHeaderValueForFirstParty']([]);
301302
if (authHeader) {
302303
headers['Authorization'] = authHeader;
303304
}

0 commit comments

Comments
 (0)