comment.go: include state in JSON response

This commit is contained in:
Adhityaa 2018-06-07 13:08:44 +05:30
parent d85c136f1d
commit fcf21fd9db

View File

@ -13,7 +13,7 @@ type comment struct {
Html string `json:"html"`
ParentHex string `json:"parentHex"`
Score int `json:"score"`
State string `json:"-"`
State string `json:"state"`
CreationDate time.Time `json:"creationDate"`
VoteDirection int `json:"voteDirection"`
}