Need to use rawValue to properly mark starred/read

This commit is contained in:
Jeremy Beker
2019-06-15 08:21:13 -04:00
parent 2128afd465
commit 5490dac86d

View File

@@ -726,7 +726,7 @@ final class GoogleReaderCompatibleAPICaller: NSObject {
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
switch result {