diff --git a/Sources/FCM/FCM.swift b/Sources/FCM/FCM.swift index 1ee4fb2..73ddae2 100644 --- a/Sources/FCM/FCM.swift +++ b/Sources/FCM/FCM.swift @@ -34,10 +34,10 @@ public struct FCM { public init(application: Application) { self.application = application - if !application.client.configuration.ignoreUncleanSSLShutdown { - application.client.configuration.ignoreUncleanSSLShutdown = true + if !application.http.client.configuration.ignoreUncleanSSLShutdown { + application.http.client.configuration.ignoreUncleanSSLShutdown = true } - self.client = application.client.http + self.client = application.http.client.shared } }