aboutsummaryrefslogtreecommitdiffstats
path: root/bug
diff options
context:
space:
mode:
Diffstat (limited to 'bug')
-rw-r--r--bug/label.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bug/label.go b/bug/label.go
index c84c56cd..ccfa15f4 100644
--- a/bug/label.go
+++ b/bug/label.go
@@ -25,5 +25,5 @@ func (l *Label) UnmarshalGQL(v interface{}) error {
// MarshalGQL implements the graphql.Marshaler interface
func (l Label) MarshalGQL(w io.Writer) {
- w.Write([]byte(l))
+ w.Write([]byte(`"` + l.String() + `"`))
}