fix(access_token): use merchant_connector_id in access token (#5106)

This commit is contained in:
Narayan Bhat
2024-06-24 19:36:13 +05:30
committed by GitHub
parent 10e9121341
commit b7bf457d0c

View File

@ -447,7 +447,7 @@ pub async fn sync_refund_with_gateway(
&state.conf.connectors,
&connector_id,
api::GetToken::Connector,
payment_attempt.connector.clone(),
payment_attempt.merchant_connector_id.clone(),
)
.change_context(errors::ApiErrorResponse::InternalServerError)
.attach_printable("Failed to get the connector")?;