mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +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> {
|
) -> 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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user