forked from ebhomengo/niki
remove CountAccepted from param/admin/kind_box_req/reject.go
This commit is contained in:
parent
06acc01e64
commit
2e9bc7c241
|
@ -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"`
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue