From 334c7e6111aff1c7519b787cf496b7b39acb95a7 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 3 Aug 2020 20:01:27 +1000 Subject: [PATCH] Demo company_key --- app/Console/Commands/DemoMode.php | 2 +- app/Utils/SystemHealth.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/DemoMode.php b/app/Console/Commands/DemoMode.php index 92decce9a6..d56ded08af 100644 --- a/app/Console/Commands/DemoMode.php +++ b/app/Console/Commands/DemoMode.php @@ -101,7 +101,7 @@ class DemoMode extends Command 'account_id' => $account->id, 'slack_webhook_url' => config('ninja.notification.slack'), 'enabled_modules' => 32767, - 'company_key' => 'demo', + 'company_key' => 'KEY', 'enable_shop_api' => true ]); diff --git a/app/Utils/SystemHealth.php b/app/Utils/SystemHealth.php index 6e7eb880b6..c4cc4e60c1 100644 --- a/app/Utils/SystemHealth.php +++ b/app/Utils/SystemHealth.php @@ -64,7 +64,7 @@ class SystemHealth 'system_health' => $system_health, 'extensions' => self::extensions(), 'php_version' => [ - 'minimum_php_version' => self::$php_version, + 'minimum_php_version' => (string)self::$php_version, 'current_php_version' => phpversion(), 'is_okay' => version_compare(phpversion(), self::$php_version, '>='), ],