@xuda.io/drive_module 1.1.1450 → 1.1.1452
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 +4 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -279,14 +279,16 @@ export const get_drive_files = async (req) => {
|
|
|
279
279
|
};
|
|
280
280
|
};
|
|
281
281
|
const get_user_files = async () => {
|
|
282
|
-
debugger;
|
|
283
282
|
opt.selector.docType = 'user_drive';
|
|
284
283
|
opt.selector.uid = uid;
|
|
285
284
|
const ret = await find_contact_query(uid, opt);
|
|
286
285
|
const file_doc = await get_user_drive_file(uid, path.basename(file_path) || '/');
|
|
286
|
+
|
|
287
|
+
const app_id = await get_account_default_project_id(uid);
|
|
288
|
+
|
|
287
289
|
return {
|
|
288
290
|
code: 1,
|
|
289
|
-
data: await fetch_drive_files(ret, file_doc,
|
|
291
|
+
data: await fetch_drive_files(ret, file_doc, app_id, uid),
|
|
290
292
|
};
|
|
291
293
|
};
|
|
292
294
|
const get_studio_files = async () => {
|