mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 19:23:01 +00:00
🔀 Fix merge mistake
This commit is contained in:
parent
96ff7ecdae
commit
f162f6a8e2
1 changed files with 0 additions and 2 deletions
|
@ -72,8 +72,6 @@ class MasStoreSearch: StoreSearch {
|
||||||
loadSearchResults(url)
|
loadSearchResults(url)
|
||||||
}.then { results -> Guarantee<SearchResult?> in
|
}.then { results -> Guarantee<SearchResult?> in
|
||||||
guard let result = results.first else {
|
guard let result = results.first else {
|
||||||
return try JSONDecoder().decode(SearchResultList.self, from: data).results
|
|
||||||
} catch {
|
|
||||||
return .value(nil)
|
return .value(nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue