diff --git a/crates/router/src/db/customers.rs b/crates/router/src/db/customers.rs index 37de3c08ca2d..3d8483f14f16 100644 --- a/crates/router/src/db/customers.rs +++ b/crates/router/src/db/customers.rs @@ -281,7 +281,7 @@ mod storage { MerchantStorageScheme::RedisKv => { let key = PartitionKey::MerchantIdCustomerId { merchant_id, - customer_id: customer_id.get_string_repr(), + customer_id, }; let field = format!("cust_{}", customer_id.get_string_repr()); Box::pin(db_utils::try_redis_get_else_try_database_get(