@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.
Files changed (2) hide show
  1. package/index.mjs +3 -1
  2. 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
- debugger;
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),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1461",
3
+ "version": "1.1.1463",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {