File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ public final class APNSwiftConnection: APNSwiftClient {
199199 responsePromise: responsePromise
200200 )
201201
202+ streamPromise. futureResult. cascadeFailure ( to: responsePromise)
202203 return streamPromise. futureResult. flatMap { stream in
203204 logger? . info ( " Send - sending " )
204205 return stream. writeAndFlush ( context) . flatMapErrorThrowing { error in
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ var logger = Logger(label: "com.apnswift")
2828logger. logLevel = . debug
2929let apnsConfig = try APNSwiftConfiguration (
3030 authenticationMethod: . jwt(
31- key: . private( filePath: " /Users/kylebrowning/Desktop /AuthKey_9UC9ZLQ8YW.p8 " ) ,
31+ key: . private( filePath: " /Users/kylebrowning/Documents /AuthKey_9UC9ZLQ8YW.p8 " ) ,
3232 keyIdentifier: " 9UC9ZLQ8YW " ,
3333 teamIdentifier: " ABBM6U9RM5 "
3434 ) ,
You can’t perform that action at this time.
0 commit comments