@xuda.io/drive_module 1.1.823 → 1.1.825
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 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -132,6 +132,7 @@ exports.get_drive_files = async function (req) {
|
|
|
132
132
|
let files = {
|
|
133
133
|
path: req.path || "/",
|
|
134
134
|
name: file_doc.data.folder_name || "/",
|
|
135
|
+
file_path: req.path || "/",
|
|
135
136
|
// size: 0,
|
|
136
137
|
sizeInBytes: 0,
|
|
137
138
|
children: [],
|
|
@@ -208,8 +209,9 @@ exports.get_drive_files = async function (req) {
|
|
|
208
209
|
// console.log(file_doc);
|
|
209
210
|
|
|
210
211
|
let files = {
|
|
211
|
-
path: req.path || "/",
|
|
212
212
|
name: file_doc.data.folder_name || "/",
|
|
213
|
+
path: req.path || "/",
|
|
214
|
+
file_path: req.path || "/",
|
|
213
215
|
sizeInBytes: 0,
|
|
214
216
|
children: [],
|
|
215
217
|
};
|