Skip to content

Commit 3fed99b

Browse files
committed
Failing CI fix (maybe)
1 parent 1b79205 commit 3fed99b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/firestore/src/remote/rest_connection.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,7 @@ export abstract class RestConnection implements Connection {
9090
logDebug(LOG_TAG, `Sending RPC '${rpcName}' ${streamId}:`, url, req);
9191

9292
const headers: StringMap = {
93-
'x-goog-request-params':
94-
this.databaseId.database === DEFAULT_DATABASE_NAME
95-
? `project_id=${this.databaseId.projectId}`
96-
: `project_id=${this.databaseId.projectId}&database_id=${this.databaseId.database}`
93+
'x-goog-request-params': `project_id=${this.databaseId.projectId}&database_id=${this.databaseId.database}`
9794
};
9895
this.modifyHeadersForRequest(headers, authToken, appCheckToken);
9996

0 commit comments

Comments
 (0)