@xuda.io/drive_module 1.1.1346 → 1.1.1347

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -242,7 +242,7 @@ export const get_drive_files = async (req) => {
242
242
  size: formatBytes(sizeInBytes),
243
243
  name: doc.folder_name,
244
244
  path: doc.file_path, //'/' + doc._id,
245
- file_path: doc.file_path + doc.folder_name, //'/' + doc._id,
245
+ file_path: path.join(doc.file_path, doc.folder_name), //'/' + doc._id,
246
246
  type: doc.type,
247
247
  is_folder: true,
248
248
  date_created: doc.date_created,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1346",
3
+ "version": "1.1.1347",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {