mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
refactor: Replace Bach with Application on every naming (#292)
This commit is contained in:
@ -28,7 +28,6 @@ pub async fn construct_refund_router_data<'a, F>(
|
||||
refund: &'a storage::Refund,
|
||||
) -> RouterResult<types::RefundsRouterData<F>> {
|
||||
let db = &*state.store;
|
||||
//TODO: everytime parsing the json may have impact?
|
||||
let merchant_connector_account = db
|
||||
.find_merchant_connector_account_by_merchant_id_connector(
|
||||
&merchant_account.merchant_id,
|
||||
@ -86,6 +85,7 @@ pub async fn construct_refund_router_data<'a, F>(
|
||||
refund_amount: refund.refund_amount,
|
||||
currency,
|
||||
amount,
|
||||
reason: refund.refund_reason.clone(),
|
||||
},
|
||||
|
||||
response: Ok(types::RefundsResponseData {
|
||||
|
||||
Reference in New Issue
Block a user