Skip to content

Commit

Permalink
Update routing/http/server/server.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jorropo <jorropo.pgm@gmail.com>
  • Loading branch information
hacdias and Jorropo committed May 15, 2023
1 parent a92a165 commit f3bb207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routing/http/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (s *server) findProvidersNDJSON(w http.ResponseWriter, provIter iter.Result
return
}

_, err = w.Write([]byte("\n"))
_, err = w.Write([]byte{'\n'})
if err != nil {
logger.Warn("FindProviders ndjson write error", "Error", err)
return
Expand Down

0 comments on commit f3bb207

Please sign in to comment.