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(
59
59
metadata . set ( 'X-Firebase-GMPID' , appId ) ;
60
60
}
61
61
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
63
63
// 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.
64
67
metadata . set ( 'Google-Cloud-Resource-Prefix' , databasePath ) ;
68
+ metadata . set ( 'x-goog-request-params' , databasePath ) ;
65
69
return metadata ;
66
70
}
67
71
You can’t perform that action at this time.
0 commit comments