Skip to content

Commit

Permalink
Fix typo, causing extensions to produce invalid json
Browse files Browse the repository at this point in the history
  • Loading branch information
pietervanheijningen authored Nov 16, 2024
1 parent 4c71fd4 commit c6cd3a7
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 c6cd3a7

Please sign in to comment.