@xuda.io/xuda-worker-bundle-min 1.3.477 → 1.3.478
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 +5 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -415,11 +415,11 @@ func.common.db = async function (
|
|
|
415
415
|
switch (serviceP) {
|
|
416
416
|
case "dbs_read": {
|
|
417
417
|
try {
|
|
418
|
-
const ret = {
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
};
|
|
422
|
-
return success_callback(
|
|
418
|
+
// const ret = {
|
|
419
|
+
// code: 1,
|
|
420
|
+
// data: await read_dbs_pouch(db),
|
|
421
|
+
// };
|
|
422
|
+
return success_callback(await read_dbs_pouch(db));
|
|
423
423
|
} catch (err) {
|
|
424
424
|
return error_callback(err);
|
|
425
425
|
}
|