@xuda.io/drive_module 1.1.1462 → 1.1.1464

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.
Files changed (2) hide show
  1. package/index.mjs +3 -1
  2. 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 file_doc = await db_module.find_app_couch_query(app_id, opt);
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1462",
3
+ "version": "1.1.1464",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {