Merge pull request #2906 from kielgillard/mac-candidate
Feedly API is no longer returning the feed values for deleted feeds…
This commit is contained in:
commit
338867838b
|
@ -369,7 +369,9 @@ final class FeedlyAPICaller {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
send(request: request, resultType: [FeedlyFeed].self, dateDecoding: .millisecondsSince1970, keyDecoding: .convertFromSnakeCase) { result in
|
// `resultType` is optional because the Feedly API has gone from returning an array of removed feeds to returning `null`.
|
||||||
|
// https://developer.feedly.com/v3/collections/#remove-multiple-feeds-from-a-personal-collection
|
||||||
|
send(request: request, resultType: Optional<[FeedlyFeed]>.self, dateDecoding: .millisecondsSince1970, keyDecoding: .convertFromSnakeCase) { result in
|
||||||
switch result {
|
switch result {
|
||||||
case .success((let httpResponse, _)):
|
case .success((let httpResponse, _)):
|
||||||
if httpResponse.statusCode == 200 {
|
if httpResponse.statusCode == 200 {
|
||||||
|
|
Loading…
Reference in New Issue