Avoid cached response when adding new feed

This commit is contained in:
abilops
2020-04-11 05:09:52 +05:30
parent 6ec11119f8
commit 00d3249c86
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ import RSCore
class FeedFinder {
static func find(url: URL, completion: @escaping (Result<Set<FeedSpecifier>, Error>) -> Void) {
downloadUsingCache(url) { (data, response, error) in
downloadAddingToCache(url) { (data, response, error) in
if response?.forcedStatusCode == 404 {
completion(.failure(AccountError.createErrorNotFound))
return