mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
refactor(gsm): add error_category column to gsm table (#6648)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -67,6 +67,7 @@ pub async fn update_gsm_rule(
|
||||
step_up_possible,
|
||||
unified_code,
|
||||
unified_message,
|
||||
error_category,
|
||||
} = gsm_request;
|
||||
GsmInterface::update_gsm_rule(
|
||||
db,
|
||||
@ -82,6 +83,7 @@ pub async fn update_gsm_rule(
|
||||
step_up_possible,
|
||||
unified_code,
|
||||
unified_message,
|
||||
error_category,
|
||||
},
|
||||
)
|
||||
.await
|
||||
|
||||
@ -1690,6 +1690,7 @@ impl ForeignFrom<gsm_api_types::GsmCreateRequest> for storage::GatewayStatusMapp
|
||||
step_up_possible: value.step_up_possible,
|
||||
unified_code: value.unified_code,
|
||||
unified_message: value.unified_message,
|
||||
error_category: value.error_category,
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1708,6 +1709,7 @@ impl ForeignFrom<storage::GatewayStatusMap> for gsm_api_types::GsmResponse {
|
||||
step_up_possible: value.step_up_possible,
|
||||
unified_code: value.unified_code,
|
||||
unified_message: value.unified_message,
|
||||
error_category: value.error_category,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user