@xuda.io/drive_module 1.1.842 → 1.1.844

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 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1474,6 +1474,7 @@ exports.check_drive_file = async function (req, job_id, headers, file_obj) {
1474
1474
  break;
1475
1475
  }
1476
1476
  case "workspace": {
1477
+ selector.docType = "workspace_drive";
1477
1478
  const workspace_drive_res = await db_module.find_app_couch_query(
1478
1479
  master_app_id,
1479
1480
  {
@@ -1497,6 +1498,7 @@ exports.check_drive_file = async function (req, job_id, headers, file_obj) {
1497
1498
  break;
1498
1499
  }
1499
1500
  case "user": {
1501
+ selector.docType = "user_drive";
1500
1502
  const user_drive_res = await db_module.find_couch_query("xuda_drive", {
1501
1503
  selector: {
1502
1504
  docType: "user_drive",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.842",
3
+ "version": "1.1.844",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {