Skip to content

Commit 840dc60

Browse files
committed
Removed isEmulator check
1 parent e61c657 commit 840dc60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/firestore/src/remote/rest_connection.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ export abstract class RestConnection implements Connection {
101101
this.modifyHeadersForRequest(headers, authToken, appCheckToken);
102102

103103
const { host } = new URL(url);
104-
const forwardCredentials =
105-
isCloudWorkstation(host) && this.databaseInfo.isUsingEmulator;
104+
const forwardCredentials = isCloudWorkstation(host);
106105
return this.performRPCRequest<Req, Resp>(
107106
rpcName,
108107
url,

0 commit comments

Comments
 (0)