@xuda.io/drive_module 1.1.753 → 1.1.755
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.
- package/index.js +2 -0
- 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,
|
|
1942
1944
|
};
|
|
1943
1945
|
|
|
1944
1946
|
if (type) {
|