From b8a6ac4e48fd2957d7775898acd7e3c41a80e1fd Mon Sep 17 00:00:00 2001 From: Brian Silah <71752651+unpervertedkid@users.noreply.github.com> Date: Tue, 5 Dec 2023 21:49:23 +0300 Subject: [PATCH] fix id Co-authored-by: Prasunna Soppa <70575890+prasunna09@users.noreply.github.com> --- crates/router/src/connector/braintree/transformers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/router/src/connector/braintree/transformers.rs b/crates/router/src/connector/braintree/transformers.rs index a6c144680fdd..5cbb9e0202dc 100644 --- a/crates/router/src/connector/braintree/transformers.rs +++ b/crates/router/src/connector/braintree/transformers.rs @@ -228,8 +228,8 @@ impl types::PaymentsResponseData, >, ) -> Result { - let connector_id = - types::ResponseId::ConnectorTransactionId(item.response.transaction.id.clone()); + let id = + item.response.transaction.id.clone(); Ok(Self { status: enums::AttemptStatus::from(item.response.transaction.status), response: Ok(types::PaymentsResponseData::TransactionResponse {