@xuda.io/drive_module 1.1.1459 → 1.1.1460

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
@@ -757,7 +757,7 @@ export const update_drive_file = async (req, job_id, headers, file_obj) => {
757
757
  break;
758
758
  }
759
759
  case 'user': {
760
- ref = uid;
760
+ ref = await get_account_default_project_id(uid);
761
761
  doc.bucket[`${process.env.XUDA_HOSTNAME}`] = await upload_file_to_spaces(tempPath, uid, drive_type, file_name);
762
762
  save_ret = await save_user_drive_file(uid, doc);
763
763
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1459",
3
+ "version": "1.1.1460",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {