@xuda.io/drive_module 1.1.1265 → 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 +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1220,7 +1220,8 @@ export const check_drive_file = async (req, job_id, headers, file_obj) => {
1220
1220
  selector.originalname = path.basename(file_path);
1221
1221
  }
1222
1222
  if (type === 'directory') {
1223
- selector.folder_name = file_path;
1223
+ selector.file_path = file_path;
1224
+ selector.folder_name = folder_name;
1224
1225
  }
1225
1226
 
1226
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.1265",
3
+ "version": "1.1.1266",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {