Fix an ambiguous call to download in DownloadWithCacheManager. I’m honestly not sure what function would have been called.
This commit is contained in:
parent
e4f65000b2
commit
32973c4c85
|
@ -127,7 +127,7 @@ private final class DownloadWithCacheManager {
|
|||
return
|
||||
}
|
||||
|
||||
download(url) { (data, response, error) in
|
||||
OneShotDownloadManager.shared.download(url) { (data, response, error) in
|
||||
|
||||
if let _ = error, let cacheRecord = cacheRecord {
|
||||
// In the case where a cache record has expired, but the download returned an error, we use the cache record anyway. By design.
|
||||
|
|
Loading…
Reference in New Issue