Skip to content

Firefly III: a personal finances manager

Rename warnings to notifications

James Cole0986bfbc34d9
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);
}
}