@xuda.io/drive_module 1.1.1458 → 1.1.1459

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1349,7 +1349,7 @@ export const upload_drive_file = async (req, job_id, headers = {}, file_obj) =>
1349
1349
  break;
1350
1350
  }
1351
1351
  case 'user': {
1352
- ref = uid;
1352
+ ref = await get_account_default_project_id(uid);
1353
1353
  file_name = 'drv_' + ref + '_' + (await _common.xuda_get_uuid(drive_type)) + ext;
1354
1354
 
1355
1355
  doc.server_file_name = file_name;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1458",
3
+ "version": "1.1.1459",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {