@xuda.io/drive_module 1.1.1462 → 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
|
@@ -285,7 +285,9 @@ export const get_drive_files = async (req) => {
|
|
|
285
285
|
// const file_doc = await get_user_drive_file(uid, path.basename(file_path) || '/');
|
|
286
286
|
|
|
287
287
|
const app_id = await get_account_default_project_id(uid);
|
|
288
|
-
const
|
|
288
|
+
const ret = await db_module.find_app_couch_query(app_id, opt);
|
|
289
|
+
|
|
290
|
+
const file_doc = await db_module.get_app_couch_doc(app_id, path.basename(file_path) || '/');
|
|
289
291
|
|
|
290
292
|
return {
|
|
291
293
|
code: 1,
|