Skip to content

Commit

Permalink
Refactor: [Fiserv] Remove Default Case Handling (#4767)
Browse files Browse the repository at this point in the history
  • Loading branch information
ind1goDusk committed Jun 24, 2024
1 parent 026d8fe commit 9caabef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/connector/fiserv/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ impl<F, T> TryFrom<types::ResponseRouterData<F, FiservSyncResponse, T, types::Pa
) -> Result<Self, Self::Error> {
let gateway_resp = match item.response.sync_responses.first() {
Some(gateway_response) => gateway_response,
_ => Err(errors::ConnectorError::ResponseHandlingFailed)?,
None => Err(errors::ConnectorError::ResponseHandlingFailed)?,
};

Ok(Self {
Expand Down

0 comments on commit 9caabef

Please sign in to comment.