@xuda.io/drive_module 1.1.1264 → 1.1.1266

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.mjs +3 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -675,6 +675,7 @@ export const create_drive_folder = async (req, job_id, headers) => {
675
675
  uid,
676
676
  drive_type,
677
677
  file_path: doc.file_path,
678
+ folder_name,
678
679
  type: doc.type,
679
680
  };
680
681
  debugger;
@@ -1219,7 +1220,8 @@ export const check_drive_file = async (req, job_id, headers, file_obj) => {
1219
1220
  selector.originalname = path.basename(file_path);
1220
1221
  }
1221
1222
  if (type === 'directory') {
1222
- selector.folder_name = file_path;
1223
+ selector.file_path = file_path;
1224
+ selector.folder_name = folder_name;
1223
1225
  }
1224
1226
 
1225
1227
  switch (drive_type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1264",
3
+ "version": "1.1.1266",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {