forked from ebhomengo/niki
1
0
Fork 0

remove CountAccepted from param/admin/kind_box_req/reject.go

This commit is contained in:
Abolfazl Nourzad 2024-01-27 10:35:56 +03:30
parent 06acc01e64
commit 2e9bc7c241
Signed by: abolfazl
GPG Key ID: 183534166EB62E0B
2 changed files with 0 additions and 2 deletions

View File

@ -15,7 +15,6 @@ type KindBoxReqRejectResponse struct {
ID uint `json:"id"` ID uint `json:"id"`
KindBoxType entity.KindBoxType `json:"kind_box_type"` KindBoxType entity.KindBoxType `json:"kind_box_type"`
CountRequested uint `json:"count_requested"` CountRequested uint `json:"count_requested"`
CountAccepted uint `json:"count_accepted"`
BenefactorID uint `json:"benefactor_id"` BenefactorID uint `json:"benefactor_id"`
Status entity.KindBoxReqStatus `json:"status"` Status entity.KindBoxReqStatus `json:"status"`
Description string `json:"description"` Description string `json:"description"`

View File

@ -26,7 +26,6 @@ func (s Service) Reject(ctx context.Context, req param.KindBoxReqRejectRequest)
ID: kindBoxReq.ID, ID: kindBoxReq.ID,
KindBoxType: kindBoxReq.KindBoxType, KindBoxType: kindBoxReq.KindBoxType,
CountRequested: kindBoxReq.CountRequested, CountRequested: kindBoxReq.CountRequested,
CountAccepted: kindBoxReq.CountAccepted,
BenefactorID: kindBoxReq.BenefactorID, BenefactorID: kindBoxReq.BenefactorID,
Status: kindBoxReq.Status, Status: kindBoxReq.Status,
Description: kindBoxReq.Description, Description: kindBoxReq.Description,