@xuda.io/drive_module 1.1.535 → 1.1.536
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 +9 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -891,6 +891,10 @@ exports.rename_drive_file = async function (req) {
|
|
|
891
891
|
doc_ret.data._id = file_name_to;
|
|
892
892
|
delete doc_ret.data._rev;
|
|
893
893
|
}
|
|
894
|
+
misc_module.rsync_drive_resources_to_remote_servers(
|
|
895
|
+
"studio",
|
|
896
|
+
app_id_master
|
|
897
|
+
);
|
|
894
898
|
break;
|
|
895
899
|
}
|
|
896
900
|
case "workspace": {
|
|
@@ -984,6 +988,11 @@ exports.rename_drive_folder = async function (req) {
|
|
|
984
988
|
|
|
985
989
|
doc_ret.data._id = file_name_to;
|
|
986
990
|
delete doc_ret.data._rev;
|
|
991
|
+
|
|
992
|
+
misc_module.rsync_drive_resources_to_remote_servers(
|
|
993
|
+
"studio",
|
|
994
|
+
app_id_reference
|
|
995
|
+
);
|
|
987
996
|
break;
|
|
988
997
|
}
|
|
989
998
|
case "workspace": {
|