@xuda.io/drive_module 1.1.754 → 1.1.756

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
@@ -1919,6 +1919,7 @@ exports.search_drive_files = async function (req) {
1919
1919
  tags = [],
1920
1920
  sort_by = "name",
1921
1921
  sort_dir = "desc",
1922
+ path = "/",
1922
1923
  } = req;
1923
1924
 
1924
1925
  let { limit = 100 } = req;
@@ -1939,6 +1940,7 @@ exports.search_drive_files = async function (req) {
1939
1940
  docType: `${drive_type}_drive`,
1940
1941
  stat: 3,
1941
1942
  $and: [],
1943
+ file_path: path,
1942
1944
  };
1943
1945
 
1944
1946
  if (type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.754",
3
+ "version": "1.1.756",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {