Skip to content

Commit

Permalink
Update crates/router/src/core/payments.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Shanks <[email protected]>
  • Loading branch information
Aprabhat19 and vspecky authored Jul 18, 2024
1 parent f5cb11a commit 56a40b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/core/payments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3192,7 +3192,7 @@ where
.change_context(errors::ApiErrorResponse::InternalServerError)
.attach_printable("Invalid connector name received in 'routed_through'")?;

routing_data.routed_through = Some(connector_name.clone().to_owned());
routing_data.routed_through = Some(connector_name.clone());
return Ok(ConnectorCallType::PreDetermined(connector_data));
}

Expand Down

0 comments on commit 56a40b5

Please sign in to comment.