Merge pull request #1981 from abilops/master

Avoid cached response when adding new feed
This commit is contained in:
Maurice Parker
2020-04-11 12:30:05 -05:00
committed by GitHub
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