Skip to content

Commit

Permalink
fix: axum to string
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich committed Sep 30, 2024
1 parent 7806899 commit 91653e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/json-rpc/src/support/axum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ impl From<extract::rejection::JsonRejection> for Response<(), ()> {
id: Id::None,
payload: ResponsePayload::Failure(ErrorPayload {
code: -32600,
message: value.to_string(),
message: value.to_string().into(),
data: None,
}),
}
Expand Down

0 comments on commit 91653e1

Please sign in to comment.