mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-28 22:55:39 -04:00
comment.go: omit state if empty
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"`
|
||||
State string `json:"state,omitempty"`
|
||||
CreationDate time.Time `json:"creationDate"`
|
||||
Direction int `json:"direction"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user