From 3fdab4a288f089dbd47517715bbd755fc2dde7fa Mon Sep 17 00:00:00 2001 From: Kiel Gillard Date: Wed, 4 Dec 2019 09:33:10 +1100 Subject: [PATCH] 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 }