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 8c6d7b5 commit ede33f7
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 ede33f7

Please sign in to comment.