From 7f333141b2af5cdb9eff88f0897f901118c004b1 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 8 Aug 2023 21:10:11 -0400 Subject: [PATCH] message missing --- www-api/app/Controllers/WrenchApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {