diff --git a/bug/label.go b/bug/label.go index c84c56cd28f0f03db9e4f616ef03096b415ba7c2..ccfa15f4333b792e80c3cda01bc8ff88bde5c266 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() + `"`)) }