mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
refactor(blocklist): separate utility function & kill switch for validating data in blocklist (#3360)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1366,6 +1366,17 @@ impl DataModelExt for PaymentAttemptUpdate {
|
||||
authentication_type,
|
||||
updated_by,
|
||||
},
|
||||
Self::BlocklistUpdate {
|
||||
status,
|
||||
error_code,
|
||||
error_message,
|
||||
updated_by,
|
||||
} => DieselPaymentAttemptUpdate::BlocklistUpdate {
|
||||
status,
|
||||
error_code,
|
||||
error_message,
|
||||
updated_by,
|
||||
},
|
||||
Self::ConfirmUpdate {
|
||||
amount,
|
||||
currency,
|
||||
@ -1686,6 +1697,17 @@ impl DataModelExt for PaymentAttemptUpdate {
|
||||
cancellation_reason,
|
||||
updated_by,
|
||||
},
|
||||
DieselPaymentAttemptUpdate::BlocklistUpdate {
|
||||
status,
|
||||
error_code,
|
||||
error_message,
|
||||
updated_by,
|
||||
} => Self::BlocklistUpdate {
|
||||
status,
|
||||
error_code,
|
||||
error_message,
|
||||
updated_by,
|
||||
},
|
||||
DieselPaymentAttemptUpdate::ResponseUpdate {
|
||||
status,
|
||||
connector,
|
||||
|
||||
Reference in New Issue
Block a user