mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
Refactor: [Fiserv] Remove Default Case Handling (#4767)
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user