@xuda.io/drive_module 1.1.1189 → 1.1.1190

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.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1179,7 +1179,7 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
1179
1179
  if (app_obj?.app_type === 'datacenter') {
1180
1180
  //app_obj.is_deployment // not possible, every deployment will have is own upload mechanism
1181
1181
  const host = `root@${app_obj.app_hosting_server.ip}`;
1182
- await _utils.run_ssh_script(`scp tempPath ${host}:/var/xuda/workspace_drive/*; `);
1182
+ await _utils.run_ssh_script(`scp ${tempPath} ${host}:/var/xuda/workspace_drive/*; `);
1183
1183
  } else {
1184
1184
  doc.bucket = {
1185
1185
  [`${process.env.XUDA_HOSTNAME}`]: await upload_file_to_spaces(tempPath, ref, drive_type, file_name),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1189",
3
+ "version": "1.1.1190",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {