Skip to content

Commit

Permalink
chore: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 10, 2023
1 parent 98b1e2e commit b74e40b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/router/src/services/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -846,9 +846,7 @@ where
metrics::request::track_response_status_code(res)
}
Err(err) => {
error.replace(
(&err.current_context()).to_string()
);
error.replace((&err.current_context()).to_string());
err.current_context().status_code().as_u16().into()
}
};
Expand Down

0 comments on commit b74e40b

Please sign in to comment.