diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index bee551d2ed..c57e001be8 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -119,6 +119,7 @@ App::get('/v1/health/db') foreach ($config as $database) { try { $adapter = new DatabasePool($pools->get($database)); + $adapter->setAuthorization($authorization); $checkStart = \microtime(true); if ($adapter->ping()) {