Toggle
This commit is contained in:
@@ -150,7 +150,7 @@ func (b *OrderRepository) GetAllHystoryOrders(ctx context.Context, req entity.Or
|
||||
query = query.Limit(req.Limit)
|
||||
}
|
||||
|
||||
if err := query.Debug().Scan(&orders).Error; err != nil {
|
||||
if err := query.Scan(&orders).Error; err != nil {
|
||||
logger.ContextLogger(ctx).Error("error when get all history orders", zap.Error(err))
|
||||
return nil, 0, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user