cron indicator improvement

This commit is contained in:
Čarodej
2022-03-16 09:50:49 +01:00
parent 9d955799d3
commit 60407f9dce
5 changed files with 7 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ class GetServerStatusController
// Add cron info
$status['cron'] = [
'running' => isRunningCron(),
'lastUpdate' => isRunningCron() ? format_date(cache()->get('latest_cron_update')) : '',
'lastUpdate' => isRunningCron() ? format_date(cache()->get('latest_cron_update')) : null,
];
return $status;