@xuda.io/drive_module 1.1.732 → 1.1.733

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 +4 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1935,6 +1935,10 @@ exports.search_drive_files = async function (req) {
1935
1935
  $and: [],
1936
1936
  };
1937
1937
 
1938
+ if (type) {
1939
+ selector.type = type;
1940
+ }
1941
+
1938
1942
  if (date_from || date_to) {
1939
1943
  if (date_to < date_from) {
1940
1944
  throw new Error("invalid date_from and date_to range");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.732",
3
+ "version": "1.1.733",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {