@xuda.io/drive_module 1.1.1112 → 1.1.1114
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 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2383,7 +2383,7 @@ exports.update_drive_addons = async function (req, job_id) {
|
|
|
2383
2383
|
};
|
|
2384
2384
|
|
|
2385
2385
|
let drive_addons = {};
|
|
2386
|
-
|
|
2386
|
+
let save_ret;
|
|
2387
2387
|
if (drive_type === "workspace" || drive_type === "studio") {
|
|
2388
2388
|
const master_id = await _common.get_project_app_id(app_id, true);
|
|
2389
2389
|
var app_obj_ret = await db_module.get_app_obj(master_id);
|
|
@@ -2399,8 +2399,10 @@ exports.update_drive_addons = async function (req, job_id) {
|
|
|
2399
2399
|
drive_addons = account_ret.data.drive_addons;
|
|
2400
2400
|
}
|
|
2401
2401
|
set_drive_addons(drive_addons);
|
|
2402
|
-
save_ret
|
|
2403
|
-
|
|
2402
|
+
save_ret = await db_module.save_couch_doc(
|
|
2403
|
+
"xuda_accounts",
|
|
2404
|
+
account_ret.data
|
|
2405
|
+
);
|
|
2404
2406
|
}
|
|
2405
2407
|
return save_ret;
|
|
2406
2408
|
};
|