mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-04 05:59:48 +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,
 | 
					        &state.conf.connectors,
 | 
				
			||||||
        &connector_id,
 | 
					        &connector_id,
 | 
				
			||||||
        api::GetToken::Connector,
 | 
					        api::GetToken::Connector,
 | 
				
			||||||
        payment_attempt.connector.clone(),
 | 
					        payment_attempt.merchant_connector_id.clone(),
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    .change_context(errors::ApiErrorResponse::InternalServerError)
 | 
					    .change_context(errors::ApiErrorResponse::InternalServerError)
 | 
				
			||||||
    .attach_printable("Failed to get the connector")?;
 | 
					    .attach_printable("Failed to get the connector")?;
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user