@xuda.io/drive_module 1.1.718 → 1.1.720
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 +8 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -309,7 +309,13 @@ exports.get_drive_files = async function (req) {
|
|
|
309
309
|
continue;
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
-
let ret = await db_module.get_app_couch_doc(
|
|
312
|
+
let ret = await db_module.get_app_couch_doc(
|
|
313
|
+
app_id_master,
|
|
314
|
+
path.join(
|
|
315
|
+
get_studio_path(val.path, app_id_master, val.relativePath),
|
|
316
|
+
val.name
|
|
317
|
+
)
|
|
318
|
+
);
|
|
313
319
|
|
|
314
320
|
if (ret.code > -1) {
|
|
315
321
|
if (val.type === "file") {
|
|
@@ -365,6 +371,7 @@ exports.get_drive_files = async function (req) {
|
|
|
365
371
|
// if (val.type === "file") {
|
|
366
372
|
val.path = get_studio_path(val.path, app_id_master, val.relativePath);
|
|
367
373
|
val.file_path = path.join(val.path, val.name);
|
|
374
|
+
val.tags = ret?.data?.tags || [];
|
|
368
375
|
// }
|
|
369
376
|
}
|
|
370
377
|
for await (var index of values_to_delete.reverse()) {
|