Skip to content

Commit

Permalink
fix-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Jul 4, 2024
1 parent 51e44cd commit d489e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/otel-jaeger/src/exporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl Exporter {
Ok(()) => {
res.add_header(header::CONTENT_TYPE, "text/javascript; charset=utf-8", true)
.ok();
res.body(body.into());
res.body(body);
}
Err(_) => {
res.status_code(StatusCode::INTERNAL_SERVER_ERROR);
Expand Down

0 comments on commit d489e58

Please sign in to comment.