From 0d5c72dc38bb0826fa2a0a9d8ef4e563928df76d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dicky=20Herlambang=20=28=E8=8A=B1=EF=BC=89?= Date: Sun, 12 May 2024 16:26:22 +0700 Subject: [PATCH] Helpers: Notifications: Another left... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dicky Herlambang (花) --- app/Helpers/NotificationHelper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Helpers/NotificationHelper.php b/app/Helpers/NotificationHelper.php index 8bb1438f..a02012a8 100644 --- a/app/Helpers/NotificationHelper.php +++ b/app/Helpers/NotificationHelper.php @@ -39,7 +39,7 @@ function sendRouteErrNotify($processId, $status, $errReason, $errRoute, $errCode DB::table('appLogs')->insert([ 'processId' => $processId, 'errReason' => null, - 'errApiReason' => null, + 'errStatus' => null, ]); DB::table('notifyLogs')->insert([ 'processId' => $processId, @@ -61,7 +61,7 @@ function sendRouteErrNotify($processId, $status, $errReason, $errRoute, $errCode DB::table('appLogs')->insert([ 'processId' => $processId, 'errReason' => 'TelegramResponseException', - 'errApiReason' => $e->getMessage(), + 'errStatus' => $e->getMessage(), ]); DB::table('notifyLogs')->insert([ 'processId' => $processId, @@ -78,7 +78,7 @@ function sendRouteErrNotify($processId, $status, $errReason, $errRoute, $errCode DB::table('appLogs')->insert([ 'processId' => $processId, 'errReason' => 'Unexpected handling exception !', - 'errApiReason' => $e->getMessage(), + 'errStatus' => $e->getMessage(), ]); DB::table('notifyLogs')->insert([ 'processId' => $processId,