Skip to content

Commit 924dfc6

Browse files
committed
Pretty
1 parent 04fdf00 commit 924dfc6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/firestore/src/remote/rest_connection.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,10 @@ export abstract class RestConnection implements Connection {
8686
logDebug(LOG_TAG, `Sending RPC '${rpcName}' ${streamId}:`, url, req);
8787

8888
const headers: StringMap = {
89-
'x-goog-request-params': this.databaseId.database === DEFAULT_DATABASE_NAME
90-
? `project_id=${this.databaseId.projectId}`
91-
: `project_id=${this.databaseId.projectId}&database_id=${this.databaseId.database}`
89+
'x-goog-request-params':
90+
this.databaseId.database === DEFAULT_DATABASE_NAME
91+
? `project_id=${this.databaseId.projectId}`
92+
: `project_id=${this.databaseId.projectId}&database_id=${this.databaseId.database}`
9293
};
9394
this.modifyHeadersForRequest(headers, authToken, appCheckToken);
9495

0 commit comments

Comments
 (0)