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
No known key found for this signature in database
GPG Key ID: CD5EE767A4A34FD0
1 changed files with 1 additions and 1 deletions

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 {