From 0986bfbc34d93421a2b2c90e531da526c9ec8321 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 25 Jan 2025 04:49:08 +0100 Subject: [PATCH] Rename warnings to notifications --- app/Api/V1/Controllers/System/CronController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Api/V1/Controllers/System/CronController.php b/app/Api/V1/Controllers/System/CronController.php index 34451eda67..2f4bdf02e9 100644 --- a/app/Api/V1/Controllers/System/CronController.php +++ b/app/Api/V1/Controllers/System/CronController.php @@ -52,8 +52,8 @@ class CronController extends Controller if (true === config('cer.download_enabled')) { $return['exchange_rates'] = $this->exchangeRatesCronJob($config['force'], $config['date']); } - $return['bill_warnings'] = $this->billWarningCronJob($config['force'], $config['date']); + $return['bill_notifications'] = $this->billWarningCronJob($config['force'], $config['date']); - return response()->json($return); + return response()->api($return); } }