uepay-ops2 4.0.7 → 4.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/util/net.js +0 -4
- package/package.json +1 -1
package/lib/util/net.js
CHANGED
|
@@ -106,10 +106,6 @@ function request(method, url, params, headers) {
|
|
|
106
106
|
return new Promise((suc, err) => {
|
|
107
107
|
err("".concat(method, " Method Must Support url"));
|
|
108
108
|
});
|
|
109
|
-
} else if (!params) {
|
|
110
|
-
return new Promise((suc, err) => {
|
|
111
|
-
err("".concat(method, " Method Must Support Params"));
|
|
112
|
-
});
|
|
113
109
|
} else {
|
|
114
110
|
return fetch(url, {
|
|
115
111
|
method: method,
|