Skip to content

Commit

Permalink
Fix typo, causing extensions to produce invalid json (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
pietervanheijningen authored Nov 17, 2024
1 parent 4c71fd4 commit 901ed00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msgp/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func rwExtension(dst jsWriter, src *Reader) (n int, err error) {
}
n++

nn, err = dst.WriteString(`"type:"`)
nn, err = dst.WriteString(`"type":`)
n += nn
if err != nil {
return
Expand Down

0 comments on commit 901ed00

Please sign in to comment.