From f7375a9c8ef96dd34147d73f6e45926c69c1c10e Mon Sep 17 00:00:00 2001 From: Kiel Gillard Date: Wed, 4 Dec 2019 09:29:43 +1100 Subject: [PATCH 1/2] Update public Feedly sandbox OAuth secrets. --- .../Account/Feedly/OAuthAuthorizationClient+Feedly.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Frameworks/Account/Feedly/OAuthAuthorizationClient+Feedly.swift b/Frameworks/Account/Feedly/OAuthAuthorizationClient+Feedly.swift index 683a89246..420aa5ed5 100644 --- a/Frameworks/Account/Feedly/OAuthAuthorizationClient+Feedly.swift +++ b/Frameworks/Account/Feedly/OAuthAuthorizationClient+Feedly.swift @@ -25,10 +25,11 @@ extension OAuthAuthorizationClient { /// See https://developer.feedly.com/v3/sandbox/ for more information. /// The return value models public sandbox API values found at: /// https://groups.google.com/forum/#!topic/feedly-cloud/WwQWMgDmOuw - /// They are due to expire on November 30 2019. + /// They are due to expire on January 31 2020. + /// Verify the sandbox URL host in the FeedlyAPICaller.API.baseUrlComponents method, too. return OAuthAuthorizationClient(id: "sandbox", redirectUri: "urn:ietf:wg:oauth:2.0:oob", state: nil, - secret: "ReVGXA6WekanCxbf") + secret: "nZmS4bqxgRQkdPks") } } From 3fdab4a288f089dbd47517715bbd755fc2dde7fa Mon Sep 17 00:00:00 2001 From: Kiel Gillard Date: Wed, 4 Dec 2019 09:33:10 +1100 Subject: [PATCH 2/2] Feed titles in Feedly seem to be optional despite what the API documentation says, possibly fixing #1326 if there are no other required keys that should be optional. --- Frameworks/Account/Feedly/Models/FeedlyFeed.swift | 2 +- Frameworks/Account/Feedly/Models/FeedlyOrigin.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Frameworks/Account/Feedly/Models/FeedlyFeed.swift b/Frameworks/Account/Feedly/Models/FeedlyFeed.swift index 43d60f7e9..0f48fa83b 100644 --- a/Frameworks/Account/Feedly/Models/FeedlyFeed.swift +++ b/Frameworks/Account/Feedly/Models/FeedlyFeed.swift @@ -11,7 +11,7 @@ import Foundation struct FeedlyFeed: Codable { var feedId: String var id: String - var title: String + var title: String? var updated: Date? var website: String? } diff --git a/Frameworks/Account/Feedly/Models/FeedlyOrigin.swift b/Frameworks/Account/Feedly/Models/FeedlyOrigin.swift index d15cffdf6..3ecb6528e 100644 --- a/Frameworks/Account/Feedly/Models/FeedlyOrigin.swift +++ b/Frameworks/Account/Feedly/Models/FeedlyOrigin.swift @@ -9,7 +9,7 @@ import Foundation struct FeedlyOrigin: Decodable { - var title: String + var title: String? var streamId: String var htmlUrl: String }