@xuda.io/xuda-worker-bundle-min 1.3.415 → 1.3.417
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/index.js +0 -25
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -293,30 +293,6 @@ func.common.db = async function (
|
|
|
293
293
|
} catch (err) {
|
|
294
294
|
console.error(err);
|
|
295
295
|
}
|
|
296
|
-
|
|
297
|
-
// fetch(url, {
|
|
298
|
-
// method: opt.type ? opt.type : "POST",
|
|
299
|
-
// headers: {
|
|
300
|
-
// Accept: "application/json",
|
|
301
|
-
// "Content-Type": "application/json",
|
|
302
|
-
// },
|
|
303
|
-
// body: JSON.stringify(data),
|
|
304
|
-
// })
|
|
305
|
-
// .then((response) => {
|
|
306
|
-
// if (!response.ok) {
|
|
307
|
-
// return response.text().then((text) => {
|
|
308
|
-
// throw new Error(text);
|
|
309
|
-
// });
|
|
310
|
-
// }
|
|
311
|
-
// return response.json();
|
|
312
|
-
// })
|
|
313
|
-
// .then((json) => {
|
|
314
|
-
// success_callback(json, true);
|
|
315
|
-
// })
|
|
316
|
-
// .catch((err) => {
|
|
317
|
-
// error_callback(err);
|
|
318
|
-
// console.error(err);
|
|
319
|
-
// });
|
|
320
296
|
};
|
|
321
297
|
|
|
322
298
|
// const perform_rpi_request_from_studio = async function (serviceP) {
|
|
@@ -389,7 +365,6 @@ func.common.db = async function (
|
|
|
389
365
|
try {
|
|
390
366
|
table_req_id = cleanString({
|
|
391
367
|
key: _data.table_id,
|
|
392
|
-
limit: 99999999,
|
|
393
368
|
table_id: _data.table_id,
|
|
394
369
|
});
|
|
395
370
|
const doc = await db.get(table_req_id);
|