@xuda.io/drive_module 1.1.1460 → 1.1.1461
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -758,7 +758,7 @@ export const update_drive_file = async (req, job_id, headers, file_obj) => {
|
|
|
758
758
|
}
|
|
759
759
|
case 'user': {
|
|
760
760
|
ref = await get_account_default_project_id(uid);
|
|
761
|
-
doc.bucket[`${process.env.XUDA_HOSTNAME}`] = await upload_file_to_spaces(tempPath,
|
|
761
|
+
doc.bucket[`${process.env.XUDA_HOSTNAME}`] = await upload_file_to_spaces(tempPath, ref, drive_type, file_name);
|
|
762
762
|
save_ret = await save_user_drive_file(uid, doc);
|
|
763
763
|
break;
|
|
764
764
|
}
|