Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/mas/Controllers/AppStoreSearcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extension AppStoreSearcher {
/// - Throws: A `MASError.unknownAppID(appID)` if `appID` is invalid.
/// Some other `Error` if any other problem occurs.
func lookup(appID: AppID) async throws -> SearchResult {
try await lookup(appID: appID, inRegion: region)
try await lookup(appID: appID, inRegion: await region)
}

/// Searches for apps.
Expand All @@ -46,6 +46,6 @@ extension AppStoreSearcher {
/// - Returns: An `Array` of `SearchResult`s matching `searchTerm`.
/// - Throws: An `Error` if any problem occurs.
func search(for searchTerm: String) async throws -> [SearchResult] {
try await search(for: searchTerm, inRegion: region)
try await search(for: searchTerm, inRegion: await region)
}
}