@xuda.io/drive_module 1.1.1009 → 1.1.1011

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
@@ -175,7 +175,7 @@ exports.get_drive_files = async function (req) {
175
175
 
176
176
  if (tags?.length) {
177
177
  opt.selector.tags = {
178
- $in: tags,
178
+ $all: tags,
179
179
  };
180
180
  }
181
181
 
@@ -1516,7 +1516,7 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
1516
1516
 
1517
1517
  let tags_arr = [];
1518
1518
  try {
1519
- tags_arr = tags.split(",");
1519
+ if (tags) tags_arr = tags.split(",");
1520
1520
  } catch (error) {}
1521
1521
 
1522
1522
  var doc = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1009",
3
+ "version": "1.1.1011",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {