Tweak item query parameters to be more correct
This commit is contained in:
parent
4f4301e780
commit
cc269a8089
|
@ -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")
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue