@xuda.io/drive_module 1.1.998 → 1.1.999

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.
Files changed (2) hide show
  1. package/index.js +10 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -856,8 +856,8 @@ exports.delete_drive_files = async function (req, job_id, headers) {
856
856
  if (doc.type === "file") {
857
857
  await module.exports.delete_file_from_bucket(doc.bucket);
858
858
  }
859
- doc_ret.data.ts = Date.now();
860
- doc_ret.data.stat = 4;
859
+ doc.ts = Date.now();
860
+ doc.stat = 4;
861
861
  save_ret = await save_drive_doc(drive_type, app_id, doc);
862
862
 
863
863
  misc_module.rsync_drive_resources_to_remote_servers(
@@ -871,6 +871,14 @@ exports.delete_drive_files = async function (req, job_id, headers) {
871
871
  }
872
872
  }
873
873
 
874
+ switch (drive_type) {
875
+ case "studio": {
876
+ break;
877
+ }
878
+ default:
879
+ break;
880
+ }
881
+
874
882
  return {
875
883
  code: 200,
876
884
  data: req.files_arr,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.998",
3
+ "version": "1.1.999",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {