fix(refund_list): updated refund list response status code when no refunds found. (#974)

Co-authored-by: hrithikesh vm <hrithikesh.vm@hrithikesh.vm-MacBookPro>
This commit is contained in:
Hrithikesh
2023-05-03 01:55:46 +05:30
committed by GitHub
parent 22a5372481
commit 4e0489cf1c
3 changed files with 7 additions and 6 deletions

View File

@ -146,7 +146,9 @@ pub struct RefundListRequest {
#[derive(Debug, Clone, Eq, PartialEq, Deserialize, Serialize, ToSchema)]
pub struct RefundListResponse {
/// The list of refund response
/// The number of refunds included in the list
pub size: usize,
/// The List of refund response object
pub data: Vec<RefundResponse>,
}