@xuda.io/drive_module 1.1.890 → 1.1.891

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 +6 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -166,6 +166,12 @@ exports.get_drive_files = async function (req) {
166
166
  ];
167
167
  }
168
168
 
169
+ if (tags?.length) {
170
+ opt.selector.tags = {
171
+ $in: tags,
172
+ };
173
+ }
174
+
169
175
  validate_drive_type(drive_type);
170
176
 
171
177
  function formatBytes(bytes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.890",
3
+ "version": "1.1.891",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {