diff --git a/Sources/APNS/Application+APNS.swift b/Sources/APNS/Application+APNS.swift index 14737af..4f7184b 100644 --- a/Sources/APNS/Application+APNS.swift +++ b/Sources/APNS/Application+APNS.swift @@ -68,7 +68,8 @@ extension Application.APNS: APNSwiftClient { priority: Int?, collapseIdentifier: String?, topic: String?, - logger: Logger? + logger: Logger?, + apnsID: UUID? = nil ) -> EventLoopFuture { self.application.apns.pool.withConnection( logger: logger, @@ -82,7 +83,8 @@ extension Application.APNS: APNSwiftClient { priority: priority, collapseIdentifier: collapseIdentifier, topic: topic, - logger: logger + logger: logger, + apnsID: apnsID ) } } diff --git a/Sources/APNS/Request+APNS.swift b/Sources/APNS/Request+APNS.swift index 7117f41..19781dd 100644 --- a/Sources/APNS/Request+APNS.swift +++ b/Sources/APNS/Request+APNS.swift @@ -27,7 +27,8 @@ extension Request.APNS: APNSwiftClient { priority: Int?, collapseIdentifier: String?, topic: String?, - logger: Logger? + logger: Logger?, + apnsID: UUID? = nil ) -> EventLoopFuture { self.request.application.apns.pool.withConnection( logger: logger, @@ -41,7 +42,8 @@ extension Request.APNS: APNSwiftClient { priority: priority, collapseIdentifier: collapseIdentifier, topic: topic, - logger: logger + logger: logger, + apnsID: apnsID ) } }