feat(router): add payment failed webhook event (#305)

This commit is contained in:
ItsMeShashank
2023-01-06 14:02:39 +05:30
committed by GitHub
parent 2f65459d9e
commit f2b88350a6
4 changed files with 8 additions and 4 deletions

View File

@ -17,7 +17,7 @@ where
fn fmt(val: &T, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let val_str: &str = val.as_ref();
if val_str.len() < 15 && val_str.len() > 19 {
if val_str.len() < 15 || val_str.len() > 19 {
return WithType::fmt(val, f);
}