Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for an error using URLSearchParams with fetch
Fix the following error occurred in WeChat Windows client (based on Chrome 53 from UA), when passing an `URLSearchParams` as body not not passing headers. message: "Failed to construct 'Headers': No matching constructor signature." stack: TypeError: Failed to construct 'Headers': No matching constructor signature. at TypeError (native) at fetch (webpack-internal:///./node_modules/core-js/modules/web.url-search-params.js:328:23) at _callee$ (webpack-internal:///./src/api/internal.ts:180:20) at tryCatch (webpack-internal:///./node_modules/regenerator-runtime/runtime.js:45:40) ...
- Loading branch information