diff --git a/www-api/app/Controllers/WrenchApi.php b/www-api/app/Controllers/WrenchApi.php index 03562b38..2e5fc822 100644 --- a/www-api/app/Controllers/WrenchApi.php +++ b/www-api/app/Controllers/WrenchApi.php @@ -458,7 +458,7 @@ class WrenchApi extends BaseController $raw_array["system_primary_uploads"] = $this->getSiteConfigurations("system.primary_uploads"); $out = ( new \App\Models\UploadManager() )->reciveUpload($raw_array, $local_out); $call_backend = $out["call_backend"]; - $raw_array["message"] = $out["message"]; + $in["message"] = $raw_array["message"] = $out["message"]; $raw_array["file_data"] = $out['file_data'] = $in['file_data'] =""; // no need to carry raw file data anymore - saved or cached ath this point } if (isset($_FILES) && is_array($_FILES) && count($_FILES)>0) {