@xuda.io/drive_module 1.1.668 → 1.1.669
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 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1902,6 +1902,7 @@ exports.search_drive_files = async function (req) {
|
|
|
1902
1902
|
file_ext,
|
|
1903
1903
|
type,
|
|
1904
1904
|
tags = [],
|
|
1905
|
+
limit = 100,
|
|
1905
1906
|
} = req;
|
|
1906
1907
|
try {
|
|
1907
1908
|
validate_drive_type(drive_type);
|
|
@@ -1965,7 +1966,7 @@ exports.search_drive_files = async function (req) {
|
|
|
1965
1966
|
|
|
1966
1967
|
var opt = {
|
|
1967
1968
|
selector,
|
|
1968
|
-
limit
|
|
1969
|
+
limit,
|
|
1969
1970
|
fields: ["originalname", "date_created", "server_file_name", "is_folder"],
|
|
1970
1971
|
};
|
|
1971
1972
|
|