mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
fix: return none instead of err when payment method data is not found for bank debit during listing (#2967)
This commit is contained in:
@ -2459,8 +2459,7 @@ async fn get_bank_account_connector_details(
|
||||
}))
|
||||
}
|
||||
},
|
||||
None => Err(errors::ApiErrorResponse::InternalServerError.into())
|
||||
.attach_printable("Unable to fetch payment method data"),
|
||||
None => Ok(None),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user