aboutsummaryrefslogtreecommitdiffstats
path: root/bug/comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/comment.go')
-rw-r--r--bug/comment.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bug/comment.go b/bug/comment.go
index c0c07076..9cc38738 100644
--- a/bug/comment.go
+++ b/bug/comment.go
@@ -6,8 +6,8 @@ import (
)
type Comment struct {
- Author Person
- Message string
+ Author Person `json:"author"`
+ Message string `json:"message"`
// Creation time of the comment.
// Should be used only for human display, never for ordering as we can't rely on it in a distributed system.