diff --git a/crates/router/src/connector/nmi/transformers.rs b/crates/router/src/connector/nmi/transformers.rs index 5b486aae600c..926f2c300d2e 100644 --- a/crates/router/src/connector/nmi/transformers.rs +++ b/crates/router/src/connector/nmi/transformers.rs @@ -727,7 +727,7 @@ impl Response::Approved => ( Ok(types::PaymentsResponseData::TransactionResponse { resource_id: types::ResponseId::ConnectorTransactionId( - item.response.transactionid.to_owned(), + item.response.transactionid.clone(), ), redirection_data: None, mandate_reference: None, @@ -783,7 +783,7 @@ impl TryFrom> Response::Approved => ( Ok(types::PaymentsResponseData::TransactionResponse { resource_id: types::ResponseId::ConnectorTransactionId( - item.response.transactionid.to_owned(), + item.response.transactionid.clone(), ), redirection_data: None, mandate_reference: None, @@ -833,7 +833,7 @@ impl Response::Approved => ( Ok(types::PaymentsResponseData::TransactionResponse { resource_id: types::ResponseId::ConnectorTransactionId( - item.response.transactionid.to_owned(), + item.response.transactionid.clone(), ), redirection_data: None, mandate_reference: None,