@xuda.io/drive_module 1.1.1259 → 1.1.1260

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