aboutsummaryrefslogtreecommitdiffstats
path: root/bug/snapshot.go
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2018-07-20 00:25:30 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-20 14:32:23 +0200
commit1dd5118eebe0e993d55ae5433cb2dcfd2764bf4f (patch)
tree67f9b2e6bb3eb7cbc870436e34e7e57a708008e5 /bug/snapshot.go
parent59e6ae872cad5683a9f1887cbef382d0e76ecc61 (diff)
downloadgit-bug-1dd5118eebe0e993d55ae5433cb2dcfd2764bf4f.tar.gz
graphql: Actually get the bugs from the repo
Diffstat (limited to 'bug/snapshot.go')
-rw-r--r--bug/snapshot.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/bug/snapshot.go b/bug/snapshot.go
index 14ffd629..5058b3f7 100644
--- a/bug/snapshot.go
+++ b/bug/snapshot.go
@@ -10,10 +10,10 @@ import (
type Snapshot struct {
id string
- Status Status
- Title string
- Comments []Comment
- Labels []Label
+ Status Status `json:"status"`
+ Title string `json:"title"`
+ Comments []Comment `json:"comments"`
+ Labels []Label `json:"labels"`
Operations []Operation
}