@xuda.io/drive_module 1.1.1245 → 1.1.1247

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 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -649,7 +649,7 @@ export const create_drive_folder = async (req, job_id, headers) => {
649
649
  validate_drive_type(drive_type);
650
650
 
651
651
  let folder_id;
652
- let app_id_master;
652
+
653
653
  let target_dir;
654
654
  let folder_exist;
655
655
  let save_ret;
@@ -673,8 +673,8 @@ export const create_drive_folder = async (req, job_id, headers) => {
673
673
  app_id,
674
674
  uid,
675
675
  drive_type,
676
- file_path: path.join(doc.file_path, originalname),
677
- type: 'file',
676
+ file_path: doc.file_path,
677
+ type: 'folder',
678
678
  };
679
679
  const check_existing_file_ret = await check_drive_file(check_req);
680
680
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1245",
3
+ "version": "1.1.1247",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {