@xuda.io/drive_module 1.1.1450 → 1.1.1451

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 +4 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -284,9 +284,12 @@ export const get_drive_files = async (req) => {
284
284
  opt.selector.uid = uid;
285
285
  const ret = await find_contact_query(uid, opt);
286
286
  const file_doc = await get_user_drive_file(uid, path.basename(file_path) || '/');
287
+
288
+ const app_id = await get_account_default_project_id(uid);
289
+
287
290
  return {
288
291
  code: 1,
289
- data: await fetch_drive_files(ret, file_doc, null, uid),
292
+ data: await fetch_drive_files(ret, file_doc, app_id, uid),
290
293
  };
291
294
  };
292
295
  const get_studio_files = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1450",
3
+ "version": "1.1.1451",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {