From 6a8f813a71b45876f5cafa765ca4b93b786cfbe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Portela=20Afonso?= Date: Wed, 15 Dec 2021 01:32:56 +0000 Subject: [PATCH] fix(controller): expose health check controller init --- Sources/YData/Core/Controller/HealthcheckController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/YData/Core/Controller/HealthcheckController.swift b/Sources/YData/Core/Controller/HealthcheckController.swift index 7a86109..3baed22 100644 --- a/Sources/YData/Core/Controller/HealthcheckController.swift +++ b/Sources/YData/Core/Controller/HealthcheckController.swift @@ -1,6 +1,8 @@ import Vapor public struct HealthCheckHTTPController: HTTPController { + public init() {} + public func boot(routes: RoutesBuilder) throws { routes.get("healthcheck", use: health) routes.get("health", use: health)