@xuda.io/drive_module 1.1.876 → 1.1.878

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 +9 -9
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1720,14 +1720,14 @@ exports.search_drive_files = async function (req) {
1720
1720
  let { tags = [] } = req;
1721
1721
 
1722
1722
  let { limit = 100 } = req;
1723
-
1723
+ let tags_query = {};
1724
1724
  const sort_by_obj = { name: "originalname", date: "date_created" };
1725
1725
 
1726
1726
  // const protected_tags = ["tag:", "name:"];
1727
1727
  debugger;
1728
1728
  if (search_string) {
1729
1729
  // var og_search = ""
1730
- let tags_query = search_string
1730
+ tags_query = search_string
1731
1731
  .split(" ")
1732
1732
  .filter((e) => e.includes(":"))
1733
1733
  .reduce(
@@ -2397,11 +2397,11 @@ const save_drive_doc = async function (drive_type, app_id, doc) {
2397
2397
  };
2398
2398
 
2399
2399
  setTimeout(async function () {
2400
- console.log(
2401
- await exports.search_drive_files({
2402
- app_id: "prj3937cb6f9a31c8c7dea25055bba845b1",
2403
- drive_type: "workspace",
2404
- search_string: "tag:mediucal tag:school name:dw name:dawdddaw d",
2405
- })
2406
- );
2400
+ // console.log(
2401
+ // await exports.search_drive_files({
2402
+ // app_id: "prj3937cb6f9a31c8c7dea25055bba845b1",
2403
+ // drive_type: "workspace",
2404
+ // search_string: "tag:mediucal tag:school name:dw name:dawdddaw d",
2405
+ // })
2406
+ // );
2407
2407
  }, 2000);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.876",
3
+ "version": "1.1.878",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {