abler-api 0.1.57 → 0.1.59
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 +7 -7
- package/package.json +1 -1
package/dist/cjs/pp-util.js
CHANGED
|
@@ -315,8 +315,7 @@ class apiUtil$2 {
|
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}, function (error) {
|
|
318
|
-
console.log('ERROR:', error);
|
|
319
|
-
|
|
318
|
+
// console.log('ERROR:', error);
|
|
320
319
|
if (!response.finished) {
|
|
321
320
|
response.send(error);
|
|
322
321
|
}
|
|
@@ -334,7 +333,7 @@ class apiUtil$2 {
|
|
|
334
333
|
// console.log('RES:', apiSuccess(data));
|
|
335
334
|
if (!response.finished) response.send(apiUtil$2.apiSuccess(data, response.req));
|
|
336
335
|
}, function (error) {
|
|
337
|
-
console.log('ERROR:', error);
|
|
336
|
+
// console.log('ERROR:', error);
|
|
338
337
|
if (!response.finished) response.send(apiUtil$2.apiFail(error, response.req));
|
|
339
338
|
});
|
|
340
339
|
}
|
|
@@ -353,7 +352,7 @@ class apiUtil$2 {
|
|
|
353
352
|
|
|
354
353
|
if (!response.finished) response.send(responseData);
|
|
355
354
|
}, function (error) {
|
|
356
|
-
console.log('ERROR:', error);
|
|
355
|
+
// console.log('ERROR:', error);
|
|
357
356
|
let responseData = apiUtil$2.spoApiFail(error, response.req);
|
|
358
357
|
|
|
359
358
|
apiUtil$2._saveApiCallRec(response.req.apiCallRec, responseData);
|
|
@@ -1711,12 +1710,13 @@ async function checkExEnvSetting(loadjs) {
|
|
|
1711
1710
|
let msg = await createEnvSettingFile(fileName, envSettingEx);
|
|
1712
1711
|
|
|
1713
1712
|
if (!msg) {
|
|
1714
|
-
|
|
1715
|
-
ppUtil$3.importExEnvSetting(conf$2._envSetting, fileName, loadjs);
|
|
1713
|
+
return msg;
|
|
1716
1714
|
}
|
|
1717
1715
|
|
|
1718
|
-
|
|
1716
|
+
delete require.cache[fileName];
|
|
1719
1717
|
}
|
|
1718
|
+
|
|
1719
|
+
ppUtil$3.importExEnvSetting(conf$2._envSetting, fileName, loadjs);
|
|
1720
1720
|
}
|
|
1721
1721
|
} // async function checkDatabase() {
|
|
1722
1722
|
// return dbCheck.check().then(info => info.updateMessage);
|