@xuda.io/drive_module 1.1.999 → 1.1.1000
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 +12 -9
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -845,10 +845,6 @@ exports.delete_drive_files = async function (req, job_id, headers) {
|
|
|
845
845
|
doc.stat = 4;
|
|
846
846
|
save_ret = await save_drive_doc(drive_type, app_id, doc);
|
|
847
847
|
|
|
848
|
-
misc_module.rsync_drive_resources_to_remote_servers(
|
|
849
|
-
"workspace",
|
|
850
|
-
app_id_reference
|
|
851
|
-
);
|
|
852
848
|
break;
|
|
853
849
|
}
|
|
854
850
|
|
|
@@ -860,10 +856,6 @@ exports.delete_drive_files = async function (req, job_id, headers) {
|
|
|
860
856
|
doc.stat = 4;
|
|
861
857
|
save_ret = await save_drive_doc(drive_type, app_id, doc);
|
|
862
858
|
|
|
863
|
-
misc_module.rsync_drive_resources_to_remote_servers(
|
|
864
|
-
"user",
|
|
865
|
-
doc_ret.data.uid
|
|
866
|
-
);
|
|
867
859
|
break;
|
|
868
860
|
}
|
|
869
861
|
default:
|
|
@@ -872,7 +864,18 @@ exports.delete_drive_files = async function (req, job_id, headers) {
|
|
|
872
864
|
}
|
|
873
865
|
|
|
874
866
|
switch (drive_type) {
|
|
875
|
-
case "
|
|
867
|
+
case "workspace": {
|
|
868
|
+
misc_module.rsync_drive_resources_to_remote_servers(
|
|
869
|
+
"workspace",
|
|
870
|
+
app_id_reference
|
|
871
|
+
);
|
|
872
|
+
break;
|
|
873
|
+
}
|
|
874
|
+
case "user": {
|
|
875
|
+
misc_module.rsync_drive_resources_to_remote_servers(
|
|
876
|
+
"user",
|
|
877
|
+
doc_ret.data.uid
|
|
878
|
+
);
|
|
876
879
|
break;
|
|
877
880
|
}
|
|
878
881
|
default:
|