diff --git a/internal/data/repoimpl/order.go b/internal/data/repoimpl/order.go index f6093e0..a4c3329 100644 --- a/internal/data/repoimpl/order.go +++ b/internal/data/repoimpl/order.go @@ -54,9 +54,7 @@ func (p *OrderRepoImpl) FindInBatches(ctx context.Context, w *bo.FindInBatchesUs return nil } -func (p *OrderRepoImpl) Create(_ context.Context, req *bo.OrderBo) (*bo.OrderBo, error) { - - ctx := context.Background() +func (p *OrderRepoImpl) Create(ctx context.Context, req *bo.OrderBo) (*bo.OrderBo, error) { now := time.Now()