fix(refund_sync): add validation for missing connector_refund_id (#1013)

This commit is contained in:
Nishant Joshi
2023-05-03 01:57:14 +05:30
committed by GitHub
parent e9fc34ff62
commit 4397c8e199
6 changed files with 45 additions and 9 deletions

View File

@ -99,6 +99,7 @@ pub async fn refund_retrieve(
) -> HttpResponse {
let refund_request = refund_types::RefundsRetrieveRequest {
refund_id: path.into_inner(),
force_sync: Some(true),
merchant_connector_details: None,
};
wrap::compatibility_api_wrap::<