@xuda.io/drive_module 1.1.646 → 1.1.647
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.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -713,12 +713,12 @@ exports.update_drive_file = async function (req, job_id, headers, file_obj) {
|
|
|
713
713
|
const app_id_reference = await _common.get_project_app_id(app_id);
|
|
714
714
|
const app_id_master = await _common.get_project_app_id(app_id, true);
|
|
715
715
|
|
|
716
|
-
doc.bucket
|
|
716
|
+
doc.bucket {[`${process.env.XUDA_HOSTNAME}`]: await upload_file_to_spaces(
|
|
717
717
|
tempPath,
|
|
718
718
|
app_id_master,
|
|
719
719
|
drive_type,
|
|
720
720
|
file_name
|
|
721
|
-
)
|
|
721
|
+
)}
|
|
722
722
|
|
|
723
723
|
save_ret = await db_module.save_app_couch_doc(app_id_reference, doc);
|
|
724
724
|
misc_module.rsync_drive_resources_to_remote_servers(
|