diff --git a/internal/service/order.go b/internal/service/order.go index fa9e6fb..164fc1e 100644 --- a/internal/service/order.go +++ b/internal/service/order.go @@ -29,8 +29,6 @@ func (c *CmbService) order(ctx context.Context, request *v1.CmbRequest) (string, return "", err } - ctx2 := context.Background() - boReq := &bo.OrderCreateReqBo{ OutBizNo: bizContent.TransactionId, ProductNo: bizContent.ActivityId, @@ -42,7 +40,7 @@ func (c *CmbService) order(ctx context.Context, request *v1.CmbRequest) (string, NotifyUrl: c.bc.Cmb.NotifyUrl, } - orderNo, err := c.VoucherBiz.CmbOrder(ctx2, boReq) + orderNo, err := c.VoucherBiz.CmbOrder(ctx, boReq) if err != nil { return "", err }