From 00d3249c86ee24963109d06b6de6bc268a1d1261 Mon Sep 17 00:00:00 2001 From: abilops Date: Sat, 11 Apr 2020 05:09:52 +0530 Subject: [PATCH] Avoid cached response when adding new feed --- Frameworks/Account/FeedFinder/FeedFinder.swift | 2 +- submodules/RSWeb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Frameworks/Account/FeedFinder/FeedFinder.swift b/Frameworks/Account/FeedFinder/FeedFinder.swift index 8044295fa..6c00ebdf0 100644 --- a/Frameworks/Account/FeedFinder/FeedFinder.swift +++ b/Frameworks/Account/FeedFinder/FeedFinder.swift @@ -14,7 +14,7 @@ import RSCore class FeedFinder { static func find(url: URL, completion: @escaping (Result, Error>) -> Void) { - downloadUsingCache(url) { (data, response, error) in + downloadAddingToCache(url) { (data, response, error) in if response?.forcedStatusCode == 404 { completion(.failure(AccountError.createErrorNotFound)) return diff --git a/submodules/RSWeb b/submodules/RSWeb index f54e1cbad..c524ce914 160000 --- a/submodules/RSWeb +++ b/submodules/RSWeb @@ -1 +1 @@ -Subproject commit f54e1cbad3917822e40bc2310ed24bd7cb688a4f +Subproject commit c524ce9145dfe093500325b1c758ea83f82cc090