Skip to content

Commit

Permalink
fix salvo status code
Browse files Browse the repository at this point in the history
  • Loading branch information
chridou committed Dec 18, 2023
1 parent 430dd4a commit df3f0bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ impl HttpApiProblem {
.status_or_internal_server_error()
.as_u16()
.try_into()
.unwrap_or(hyper::StatusCode::INTERNAL_SERVER_ERROR);
.unwrap_or(StatusCode::INTERNAL_SERVER_ERROR);

Response::from_parts(parts, body).into()
}
Expand Down

0 comments on commit df3f0bb

Please sign in to comment.