Skip to content

Commit

Permalink
Vapor4 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaelIsaev committed Apr 10, 2020
1 parent 64078eb commit 859deee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/FCM/FCM.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 859deee

Please sign in to comment.