mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
fix(access_token): use merchant_connector_id in access token (#5106)
This commit is contained in:
@ -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")?;
|
||||
|
||||
Reference in New Issue
Block a user