@xuda.io/drive_module 1.1.557 → 1.1.558

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.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1482,11 +1482,11 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
1482
1482
  selector: { docType: "user_drive", originalname, stat: 3 },
1483
1483
  limit: 99,
1484
1484
  });
1485
- if (workspace_drive_res.docs.length) {
1485
+ if (user_drive_res.docs.length) {
1486
1486
  return {
1487
1487
  code: -762,
1488
1488
  data: "file already exist",
1489
- duplicates: workspace_drive_res.docs,
1489
+ duplicates: user_drive_res.docs,
1490
1490
  };
1491
1491
  }
1492
1492
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.557",
3
+ "version": "1.1.558",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {