Need to use rawValue to properly mark starred/read
This commit is contained in:
parent
2128afd465
commit
5490dac86d
|
@ -726,7 +726,7 @@ final class GoogleReaderCompatibleAPICaller: NSObject {
|
||||||
|
|
||||||
let actionIndicator = add ? "a" : "r"
|
let actionIndicator = add ? "a" : "r"
|
||||||
|
|
||||||
let postData = "T=\(token)&\(idsToFetch)&\(actionIndicator)=\(state)".data(using: String.Encoding.utf8)
|
let postData = "T=\(token)&\(idsToFetch)&\(actionIndicator)=\(state.rawValue)".data(using: String.Encoding.utf8)
|
||||||
|
|
||||||
self.transport.send(request: request, method: HTTPMethod.post, payload: postData!, completion: { (result) in
|
self.transport.send(request: request, method: HTTPMethod.post, payload: postData!, completion: { (result) in
|
||||||
switch result {
|
switch result {
|
||||||
|
|
Loading…
Reference in New Issue