mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-15 10:12:06 +03:00
graphql: fix marshaling of label
This commit is contained in:
parent
c351cfd30d
commit
08f03ecf3c
@ -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() + `"`))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user