From 2e9bc7c241a6bcd53acfa60e9ad6174c2c31f467 Mon Sep 17 00:00:00 2001 From: Abolfazl Nourzad Date: Sat, 27 Jan 2024 10:35:56 +0330 Subject: [PATCH] remove CountAccepted from param/admin/kind_box_req/reject.go --- param/admin/kind_box_req/reject.go | 1 - service/admin/kind_box_req/reject.go | 1 - 2 files changed, 2 deletions(-) diff --git a/param/admin/kind_box_req/reject.go b/param/admin/kind_box_req/reject.go index 56119b1..a000e42 100644 --- a/param/admin/kind_box_req/reject.go +++ b/param/admin/kind_box_req/reject.go @@ -15,7 +15,6 @@ type KindBoxReqRejectResponse struct { ID uint `json:"id"` KindBoxType entity.KindBoxType `json:"kind_box_type"` CountRequested uint `json:"count_requested"` - CountAccepted uint `json:"count_accepted"` BenefactorID uint `json:"benefactor_id"` Status entity.KindBoxReqStatus `json:"status"` Description string `json:"description"` diff --git a/service/admin/kind_box_req/reject.go b/service/admin/kind_box_req/reject.go index 1734bca..0c8e66e 100644 --- a/service/admin/kind_box_req/reject.go +++ b/service/admin/kind_box_req/reject.go @@ -26,7 +26,6 @@ func (s Service) Reject(ctx context.Context, req param.KindBoxReqRejectRequest) ID: kindBoxReq.ID, KindBoxType: kindBoxReq.KindBoxType, CountRequested: kindBoxReq.CountRequested, - CountAccepted: kindBoxReq.CountAccepted, BenefactorID: kindBoxReq.BenefactorID, Status: kindBoxReq.Status, Description: kindBoxReq.Description,