Refactor: [Fiserv] Remove Default Case Handling (#4767)

This commit is contained in:
ind1goDusk
2024-06-24 00:23:10 -07:00
committed by GitHub
parent 026d8fe328
commit 9caabeff86

View File

@ -387,7 +387,7 @@ impl<F, T> TryFrom<types::ResponseRouterData<F, FiservSyncResponse, T, types::Pa
) -> Result<Self, Self::Error> { ) -> Result<Self, Self::Error> {
let gateway_resp = match item.response.sync_responses.first() { let gateway_resp = match item.response.sync_responses.first() {
Some(gateway_response) => gateway_response, Some(gateway_response) => gateway_response,
_ => Err(errors::ConnectorError::ResponseHandlingFailed)?, None => Err(errors::ConnectorError::ResponseHandlingFailed)?,
}; };
Ok(Self { Ok(Self {