@xuda.io/drive_module 1.1.733 → 1.1.735

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
@@ -150,7 +150,7 @@ exports.get_drive_files = async function (req) {
150
150
  access_link: `https://${process.env.XUDA_HOSTNAME}/workspace-drive/${app_id}/${doc._id}`, //?gtp_token=${gtp_token}
151
151
  is_archive: doc.is_archive,
152
152
  public: doc.public,
153
- path: "/" + doc._id,
153
+ path: doc.file_path, // "/" + doc._id,
154
154
  date_created: doc.date_created,
155
155
  });
156
156
  } catch (err) {
@@ -1913,7 +1913,7 @@ exports.search_drive_files = async function (req) {
1913
1913
  date_to,
1914
1914
  mime_type,
1915
1915
  file_ext,
1916
- type = "file",
1916
+ type,
1917
1917
  tags = [],
1918
1918
  } = req;
1919
1919
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.733",
3
+ "version": "1.1.735",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {