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:
Chethan Rao
2024-12-04 15:03:27 +05:30
committed by GitHub
parent 938b2a898e
commit fd82cf610a
13 changed files with 129 additions and 9 deletions

View File

@ -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

View File

@ -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,
}
}
}