mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
fix(router): fix refunds and payment_attempts kv flow (#2362)
This commit is contained in:
committed by
GitHub
parent
3d7e22a4f1
commit
ef0df7195d
@ -68,13 +68,3 @@ where
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
/// Generates hscan field pattern. Suppose the field is pa_1234 it will generate
|
||||
/// pa_*
|
||||
pub fn generate_hscan_pattern_for_attempt(sk: &str) -> String {
|
||||
sk.split('_')
|
||||
.take(1)
|
||||
.chain(["*"])
|
||||
.collect::<Vec<&str>>()
|
||||
.join("_")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user