We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2b604f commit c63a5c7Copy full SHA for c63a5c7
packages/auth/src/api/index.ts
@@ -148,16 +148,14 @@ export async function _performApiRequest<T, V>(
148
headers[HttpHeader.X_FIREBASE_LOCALE] = auth.languageCode;
149
}
150
151
- const fetchArgs = {
+ const fetchArgs: RequestInit = {
152
method,
153
headers,
154
...body
155
};
156
157
if (!isCloudflareWorker()) {
158
- Object.assign(fetchArgs, {
159
- refererPolicy: 'no-referrer'
160
- });
+ fetchArgs.referrerPolicy = 'no-referrer';
161
162
163
return FetchProvider.fetch()(
0 commit comments