Skip to content

Commit

Permalink
Merge pull request #16 from checkout/fix-network-client
Browse files Browse the repository at this point in the history
Fix explicit use of self in closure
  • Loading branch information
aashna-narula-cko authored Mar 7, 2024
2 parents f99770d + 8c7b28f commit e1be5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CheckoutNetwork/CheckoutNetworkClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class CheckoutNetworkClient: CheckoutClientInterface {
self?.tasks.removeValue(forKey: taskID)
guard let self = self else { return }
if let error = error {
completionHandler(.failure(convertDataTaskErrorsToCheckoutNetworkError(error: error)))
completionHandler(.failure(self.convertDataTaskErrorsToCheckoutNetworkError(error: error)))
return
}

Expand Down

0 comments on commit e1be5da

Please sign in to comment.