Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Apr 16, 2022
1 parent 8446eaf commit c3b7447
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/GATT/GATTClientConnection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public final class GATTClientConnection <L2CAPSocket: L2CAPSocketProtocol> {

// immediately call completion handler
if completion == nil {
response(.value(())) // success
response(.success(())) // success
}
}
}
Expand Down Expand Up @@ -318,9 +318,9 @@ public final class GATTClientConnection <L2CAPSocket: L2CAPSocketProtocol> {
}

switch response {
case let .error(error):
case let .failure(error):
throw error
case let .value(value):
case let .success(value):
return value
}
}
Expand Down

0 comments on commit c3b7447

Please sign in to comment.