@xuda.io/drive_module 1.1.822 → 1.1.824
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 +1 -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: [],
|
|
@@ -2590,7 +2591,6 @@ exports.update_drive_file_tags = async function (req, job_id, headers) {
|
|
|
2590
2591
|
let doc = await get_drive_doc(drive_type, app_id, uid, file_path, headers);
|
|
2591
2592
|
|
|
2592
2593
|
doc.date_modified = Date.now();
|
|
2593
|
-
|
|
2594
2594
|
doc.tags = tags;
|
|
2595
2595
|
|
|
2596
2596
|
return await save_drive_doc(drive_type, app_id, doc);
|