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
commit 6f682aa3cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

@ -1 +1 @@
Subproject commit f54e1cbad3917822e40bc2310ed24bd7cb688a4f Subproject commit c524ce9145dfe093500325b1c758ea83f82cc090