Skip to content

Commit

Permalink
fix(access_token): use merchant_connector_id in access token (#5106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Narayanbhat166 committed Jun 24, 2024
1 parent 10e9121 commit b7bf457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/core/refunds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")?;
Expand Down

0 comments on commit b7bf457

Please sign in to comment.