@xuda.io/drive_module 1.1.1282 → 1.1.1284

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
@@ -699,7 +699,9 @@ export const create_drive_folder = async (req, job_id, headers) => {
699
699
  data: 'error - file path unauthorized',
700
700
  };
701
701
  }
702
- target_dir = file_path + '/' + folder_id;
702
+
703
+ target_dir = path.join(file_path, folder_id);
704
+
703
705
  folder_exist = await file_exists(target_dir);
704
706
  if (folder_exist) {
705
707
  throw new Error('folder exist');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1282",
3
+ "version": "1.1.1284",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {