Skip to content

Commit b15eb64

Browse files
committed
fix: send customer_name to ucs during customer create
1 parent 5b7e1f3 commit b15eb64

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

crates/router/src/core/unified_connector_service/transformers.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,11 @@ impl
431431
id_type: Some(payments_grpc::identifier::IdType::Id(request_ref_id)),
432432
}),
433433
merchant_account_metadata: HashMap::new(),
434-
customer_name: router_data.request.description.clone(),
434+
customer_name: router_data
435+
.request
436+
.name
437+
.clone()
438+
.map(ExposeInterface::expose),
435439
email: router_data
436440
.request
437441
.email

0 commit comments

Comments
 (0)