@xuda.io/drive_module 1.1.764 → 1.1.765
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
|
@@ -1205,12 +1205,12 @@ exports.update_drive_file_sharing_mode = async function (req, job_id, headers) {
|
|
|
1205
1205
|
drive_type,
|
|
1206
1206
|
};
|
|
1207
1207
|
|
|
1208
|
-
if (drive_type === "studio" || drive_type === "workspace") {
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
}
|
|
1208
|
+
// if (drive_type === "studio" || drive_type === "workspace") {
|
|
1209
|
+
doc.app_id = await _common.get_project_app_id(app_id);
|
|
1210
|
+
doc.app_id_reference = await _common.get_project_app_id(app_id, true);
|
|
1211
|
+
// }
|
|
1212
1212
|
|
|
1213
|
-
let save_ret;
|
|
1213
|
+
// let save_ret;
|
|
1214
1214
|
|
|
1215
1215
|
// const app_id_reference = await _common.get_project_app_id(app_id);
|
|
1216
1216
|
// save_ret = await db_module.save_app_couch_doc(app_id_reference, doc);
|