@xuda.io/drive_module 1.1.699 → 1.1.701
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.
- package/index.js +3 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -321,10 +321,9 @@ exports.get_drive_files = async function (req) {
|
|
|
321
321
|
);
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
val.path = val.path
|
|
325
|
-
path.join(_conf.studio_drive_path, app_id_master),
|
|
326
|
-
"
|
|
327
|
-
);
|
|
324
|
+
val.path = val.path
|
|
325
|
+
.replaceAll(path.join(_conf.studio_drive_path, app_id_master), "")
|
|
326
|
+
.replaceAll(val.relativePath, "");
|
|
328
327
|
|
|
329
328
|
delete ret.data._id;
|
|
330
329
|
delete ret.data._rev;
|