@xuda.io/drive_module 1.1.1096 → 1.1.1098
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 +3 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2352,14 +2352,15 @@ exports.update_drive_addons = async function (req, job_id) {
|
|
|
2352
2352
|
const {
|
|
2353
2353
|
drive_type,
|
|
2354
2354
|
app_id,
|
|
2355
|
+
uid,
|
|
2355
2356
|
ocr,
|
|
2356
2357
|
image_ai,
|
|
2357
2358
|
video_ai,
|
|
2358
2359
|
create_program,
|
|
2359
2360
|
edit_image,
|
|
2360
2361
|
} = req;
|
|
2361
|
-
|
|
2362
|
-
var app_obj_ret = await db_module.get_app_obj(
|
|
2362
|
+
const master_id = await _common.get_project_app_id(app_id, true);
|
|
2363
|
+
var app_obj_ret = await db_module.get_app_obj(master_id);
|
|
2363
2364
|
const app_obj = app_obj_ret.data;
|
|
2364
2365
|
if (!app_obj.drive_addons) {
|
|
2365
2366
|
app_obj.drive_addons = {};
|