abler-api 0.1.29 → 0.1.30
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/dist/cjs/pp-util.js +1 -1
- package/dist/es/pp-util.js +1 -1
- package/package.json +1 -1
package/dist/cjs/pp-util.js
CHANGED
|
@@ -192,7 +192,7 @@ class apiUtil$2 {
|
|
|
192
192
|
|
|
193
193
|
static sendOrRedirect(res, redirectUrl, data) {
|
|
194
194
|
if (redirectUrl) {
|
|
195
|
-
redirectUrl = urlAppendParams(redirectUrl, data, true);
|
|
195
|
+
redirectUrl = netUtil$1.urlAppendParams(redirectUrl, data, true);
|
|
196
196
|
res.redirect(redirectUrl);
|
|
197
197
|
} else {
|
|
198
198
|
res.send(data);
|
package/dist/es/pp-util.js
CHANGED
|
@@ -179,7 +179,7 @@ class apiUtil$2 {
|
|
|
179
179
|
|
|
180
180
|
static sendOrRedirect(res, redirectUrl, data) {
|
|
181
181
|
if (redirectUrl) {
|
|
182
|
-
redirectUrl = urlAppendParams(redirectUrl, data, true);
|
|
182
|
+
redirectUrl = netUtil$1.urlAppendParams(redirectUrl, data, true);
|
|
183
183
|
res.redirect(redirectUrl);
|
|
184
184
|
} else {
|
|
185
185
|
res.send(data);
|