Skip to content

Commit 22c8126

Browse files
committedJul 29, 2021
fix a typo
1 parent 7ac3900 commit 22c8126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/core-js/modules/web.url-search-params.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ $({ global: true, forced: !USE_NATIVE_URL }, {
322322
// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
323323
if (!USE_NATIVE_URL && typeof Headers == 'function') {
324324
var wrapRequestOptions = function (init) {
325-
if (!isObject(init)) {
325+
if (isObject(init)) {
326326
var body = init.body;
327327
var headers;
328328
if (classof(body) === URL_SEARCH_PARAMS) {

0 commit comments

Comments
 (0)
Please sign in to comment.