fix: 参数对象

This commit is contained in:
xream 2024-02-23 20:15:37 +08:00
parent 391a5aa2e4
commit e04217c50d
No known key found for this signature in database
GPG Key ID: 1D2C5225471789F9
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "sub-store", "name": "sub-store",
"version": "2.14.227", "version": "2.14.228",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js", "main": "src/main.js",
"scripts": { "scripts": {

View File

@ -312,7 +312,7 @@ export function HTTP(defaultOptions = { baseURL: '' }) {
? eval("require('request')") ? eval("require('request')")
: $httpClient; : $httpClient;
request[method.toLowerCase()]( request[method.toLowerCase()](
options, JSON.parse(JSON.stringify(options)),
(err, response, body) => { (err, response, body) => {
// if (err) { // if (err) {
// console.log(err); // console.log(err);