@xuda.io/drive_module 1.1.1027 → 1.1.1028

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 +1 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -368,10 +368,7 @@ exports.get_drive_files = async function (req) {
368
368
  if (val.type === "file") {
369
369
  val.cy_data = ret.data;
370
370
 
371
- val.access_link = await rep(
372
- val.path, // + "?r=" + ret.data._rev,
373
- drive_type
374
- );
371
+ val.access_link = await rep(internal_path, drive_type);
375
372
  }
376
373
  if (val.type === "directory") {
377
374
  val.name = ret.data.folder_name;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1027",
3
+ "version": "1.1.1028",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {