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.

This commit is contained in:
Kiel Gillard 2019-12-04 09:33:10 +11:00
parent f7375a9c8e
commit 3fdab4a288
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import Foundation
struct FeedlyFeed: Codable { struct FeedlyFeed: Codable {
var feedId: String var feedId: String
var id: String var id: String
var title: String var title: String?
var updated: Date? var updated: Date?
var website: String? var website: String?
} }

View File

@ -9,7 +9,7 @@
import Foundation import Foundation
struct FeedlyOrigin: Decodable { struct FeedlyOrigin: Decodable {
var title: String var title: String?
var streamId: String var streamId: String
var htmlUrl: String var htmlUrl: String
} }