mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -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"`
|
Html string `json:"html"`
|
||||||
ParentHex string `json:"parentHex"`
|
ParentHex string `json:"parentHex"`
|
||||||
Score int `json:"score"`
|
Score int `json:"score"`
|
||||||
State string `json:"-"`
|
State string `json:"state"`
|
||||||
CreationDate time.Time `json:"creationDate"`
|
CreationDate time.Time `json:"creationDate"`
|
||||||
VoteDirection int `json:"voteDirection"`
|
VoteDirection int `json:"voteDirection"`
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user