mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 10:55:40 -04:00
comment.go: include state in JSON response
This commit is contained in:
@ -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"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user