diff options
author | Quentin Gliech <quentingliech@gmail.com> | 2018-07-20 00:25:30 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-20 14:32:23 +0200 |
commit | 1dd5118eebe0e993d55ae5433cb2dcfd2764bf4f (patch) | |
tree | 67f9b2e6bb3eb7cbc870436e34e7e57a708008e5 /bug/comment.go | |
parent | 59e6ae872cad5683a9f1887cbef382d0e76ecc61 (diff) | |
download | git-bug-1dd5118eebe0e993d55ae5433cb2dcfd2764bf4f.tar.gz |
graphql: Actually get the bugs from the repo
Diffstat (limited to 'bug/comment.go')
-rw-r--r-- | bug/comment.go | 4 |
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. |