Add void print
This commit is contained in:
@@ -38,7 +38,7 @@ func (s *orderSvc) CreateOrderInquiry(ctx mycontext.Context,
|
||||
|
||||
customerID := int64(0)
|
||||
|
||||
if req.CustomerID != nil {
|
||||
if req.CustomerID != nil && *req.CustomerID != 0 {
|
||||
customer, err := s.customer.GetCustomer(ctx, *req.CustomerID)
|
||||
if err != nil {
|
||||
logger.ContextLogger(ctx).Error("customer is not found", zap.Error(err))
|
||||
|
||||
Reference in New Issue
Block a user