We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b33da3f commit 4808d25Copy full SHA for 4808d25
packages/firestore/src/api/credentials.ts
@@ -297,7 +297,8 @@ export class FirstPartyToken implements Token {
297
const headers: { [header: string]: string } = {
298
'X-Goog-AuthUser': this.sessionIndex
299
};
300
- const authHeader = this.gapi.auth.getAuthHeaderValueForFirstParty([]);
+ // Use array notation to prevent minification
301
+ const authHeader = this.gapi['auth']['getAuthHeaderValueForFirstParty']([]);
302
if (authHeader) {
303
headers['Authorization'] = authHeader;
304
}
0 commit comments