Skip to content

Commit

Permalink
Merge branch 'issue/13553-get-list-of-packages-networking' into issue…
Browse files Browse the repository at this point in the history
…/13553-get-list-of-packages-yosemite
  • Loading branch information
bozidarsevo committed Nov 19, 2024
2 parents 57a1fa7 + b625478 commit 20d03dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Networking/Networking/Remote/WooShippingRemote.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public final class WooShippingRemote: Remote, WooShippingRemoteProtocol {
completion(.failure(error))
}
}

/// Loads packages.
/// - Parameters:
/// - siteID: Remote ID of the site.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ extension MockWooShippingRemote: WooShippingRemoteProtocol {
completion: @escaping (Result<Networking.WooShippingPackagesResponse, any Error>) -> Void) {
DispatchQueue.main.async { [weak self] in
guard let self = self else { return }

let key = CreatePackageResultKey(siteID: siteID)
if let result = self.loadPackagesResults[key] {
completion(result)
Expand Down

0 comments on commit 20d03dc

Please sign in to comment.