1
mirror of https://gitlab.com/commento/commento.git synced 2026-06-17 09:55:27 -04:00

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
+1 -1
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"`
}