File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/firestore/src/platform/node Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,13 @@ function createMetadata(
5959 metadata . set ( 'X-Firebase-GMPID' , appId ) ;
6060 }
6161 metadata . set ( 'X-Goog-Api-Client' , X_GOOG_API_CLIENT_VALUE ) ;
62- // This header is used to improve routing and project isolation by the
62+ // These headers are used to improve routing and project isolation by the
6363 // backend.
64+ // TODO(b/199767712): We are keeping 'Google-Cloud-Resource-Prefix' until Emulators can be
65+ // released with cl/428820046. Currently blocked because Emulators are now built with Java
66+ // 11 from Google3.
6467 metadata . set ( 'Google-Cloud-Resource-Prefix' , databasePath ) ;
68+ metadata . set ( 'x-goog-request-params' , databasePath ) ;
6569 return metadata ;
6670}
6771
You can’t perform that action at this time.
0 commit comments