From 5dd412b1e4cb02ab18fc07018a72bff500d69ac7 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 14 Jul 2024 09:00:05 +0300 Subject: [PATCH] fix for setup error introduced with migration check --- app/Utils/SystemHealth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utils/SystemHealth.php b/app/Utils/SystemHealth.php index f9505c22796a..c5ddc8eda895 100644 --- a/app/Utils/SystemHealth.php +++ b/app/Utils/SystemHealth.php @@ -89,7 +89,7 @@ class SystemHealth 'exchange_rate_api_not_configured' => (bool)self::checkCurrencySanity(), 'api_version' => (string) config('ninja.app_version'), 'is_docker' => (bool) config('ninja.is_docker'), - 'pending_migrations' => self::checkPendingMigrations(), + 'pending_migrations' => (bool) ($check_file_system ? self::checkPendingMigrations() : ''), ]; }