mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
refactor: Add routing_approach other variant to handle unknown data (#8754)
This commit is contained in:
@ -274,7 +274,10 @@ impl Hash for PaymentMetricsBucketIdentifier {
|
||||
self.card_last_4.hash(state);
|
||||
self.card_issuer.hash(state);
|
||||
self.error_reason.hash(state);
|
||||
self.routing_approach.map(|i| i.to_string()).hash(state);
|
||||
self.routing_approach
|
||||
.clone()
|
||||
.map(|i| i.to_string())
|
||||
.hash(state);
|
||||
self.time_bucket.hash(state);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user