@xuda.io/drive_module 1.1.533 → 1.1.535
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 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -676,7 +676,7 @@ exports.update_drive_file = async function (req, job_id, headers, file_obj) {
|
|
|
676
676
|
save_ret = await db_module.save_app_couch_doc(app_id_reference, doc);
|
|
677
677
|
misc_module.rsync_drive_resources_to_remote_servers(
|
|
678
678
|
"workspace",
|
|
679
|
-
|
|
679
|
+
app_id_master
|
|
680
680
|
);
|
|
681
681
|
break;
|
|
682
682
|
}
|
|
@@ -765,6 +765,10 @@ exports.create_drive_folder = async function (req, job_id, headers) {
|
|
|
765
765
|
await create_directory(target_dir, 0o775, true);
|
|
766
766
|
doc._id = folder_id;
|
|
767
767
|
save_ret = await db_module.save_app_couch_doc(app_id_master, doc);
|
|
768
|
+
misc_module.rsync_drive_resources_to_remote_servers(
|
|
769
|
+
"studio",
|
|
770
|
+
app_id_master
|
|
771
|
+
);
|
|
768
772
|
break;
|
|
769
773
|
}
|
|
770
774
|
|