@xuda.io/drive_module 1.1.1461 → 1.1.1463
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.mjs +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -286,7 +286,9 @@ export const get_drive_files = async (req) => {
|
|
|
286
286
|
|
|
287
287
|
const app_id = await get_account_default_project_id(uid);
|
|
288
288
|
const ret = await db_module.find_app_couch_query(app_id, opt);
|
|
289
|
-
|
|
289
|
+
|
|
290
|
+
const file_doc = await db_module.get_app_couch_doc(app_id, path.basename(file_path) || '/');
|
|
291
|
+
|
|
290
292
|
return {
|
|
291
293
|
code: 1,
|
|
292
294
|
data: await fetch_drive_files(ret, file_doc, app_id, uid),
|