@xuda.io/drive_module 1.1.755 → 1.1.757

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
@@ -1940,7 +1940,7 @@ exports.search_drive_files = async function (req) {
1940
1940
  docType: `${drive_type}_drive`,
1941
1941
  stat: 3,
1942
1942
  $and: [],
1943
- file_path,
1943
+ file_path: path,
1944
1944
  };
1945
1945
 
1946
1946
  if (type) {
@@ -2062,7 +2062,7 @@ exports.search_drive_files = async function (req) {
2062
2062
  const dree_ret = await fs_module.dree_scan(directoryPath, options);
2063
2063
  var tree = dree_ret.data;
2064
2064
 
2065
- function findInName(obj, maxResults = 10) {
2065
+ function findInName(obj, maxResults = limit) {
2066
2066
  let results = [];
2067
2067
 
2068
2068
  // Function to search within an individual object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.755",
3
+ "version": "1.1.757",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {