@xuda.io/drive_module 1.1.830 → 1.1.831
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 +2 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -172,6 +172,7 @@ exports.get_drive_files = async function (req) {
|
|
|
172
172
|
size: formatBytes(sizeInBytes),
|
|
173
173
|
name: doc.folder_name,
|
|
174
174
|
path: "/" + doc._id,
|
|
175
|
+
file_path: "/" + doc._id,
|
|
175
176
|
type: doc.type,
|
|
176
177
|
is_folder: true,
|
|
177
178
|
date_created: doc.date_created,
|
|
@@ -251,6 +252,7 @@ exports.get_drive_files = async function (req) {
|
|
|
251
252
|
size: formatBytes(sizeInBytes),
|
|
252
253
|
name: doc.folder_name,
|
|
253
254
|
path: "/" + doc._id,
|
|
255
|
+
file_path: "/" + doc._id,
|
|
254
256
|
date_created: doc.date_created,
|
|
255
257
|
});
|
|
256
258
|
} catch (err) {
|