Tweak item query parameters to be more correct

This commit is contained in:
Maurice Parker 2020-10-26 16:59:12 -05:00
parent 4f4301e780
commit cc269a8089
1 changed files with 2 additions and 3 deletions

View File

@ -688,9 +688,8 @@ final class ReaderAPICaller: NSObject {
.appendingPathComponent(ReaderAPIEndpoints.itemIds.rawValue) .appendingPathComponent(ReaderAPIEndpoints.itemIds.rawValue)
.appendingQueryItems([ .appendingQueryItems([
URLQueryItem(name: "ot", value: String(sinceString)), URLQueryItem(name: "ot", value: String(sinceString)),
URLQueryItem(name: "n", value: "10000"), URLQueryItem(name: "n", value: "1000"),
URLQueryItem(name: "output", value: "json"), URLQueryItem(name: "output", value: "json"),
URLQueryItem(name: "xt", value: ReaderState.read.rawValue),
URLQueryItem(name: "s", value: ReaderStreams.readingList.rawValue) URLQueryItem(name: "s", value: ReaderStreams.readingList.rawValue)
]) ])
@ -919,7 +918,7 @@ final class ReaderAPICaller: NSObject {
.appendingPathComponent(ReaderAPIEndpoints.itemIds.rawValue) .appendingPathComponent(ReaderAPIEndpoints.itemIds.rawValue)
.appendingQueryItems([ .appendingQueryItems([
URLQueryItem(name: "s", value: ReaderState.starred), URLQueryItem(name: "s", value: ReaderState.starred),
URLQueryItem(name: "n", value: "10000"), URLQueryItem(name: "n", value: "1000"),
URLQueryItem(name: "output", value: "json") URLQueryItem(name: "output", value: "json")
]) ])