@xuda.io/drive_module 1.1.545 → 1.1.547

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 +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1434,10 +1434,10 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
1434
1434
 
1435
1435
  /// check existing file
1436
1436
  if (!override) {
1437
- const workspace_drive_res = await db_module.find_couch_query(
1438
- "xuda_drive",
1437
+ const workspace_drive_res = await db_module.find_app_couch_query(
1438
+ app_id,
1439
1439
  {
1440
- selector: { docType: "user_drive", ocr_stat: 1, stat: 3 },
1440
+ selector: { docType: "workspace_drive", originalname, stat: 3 },
1441
1441
  limit: 1,
1442
1442
  }
1443
1443
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.545",
3
+ "version": "1.1.547",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {