diff --git a/internal/service/cart/cart.go b/internal/service/cart/cart.go index 7f5d4cc..f9e3814 100644 --- a/internal/service/cart/cart.go +++ b/internal/service/cart/cart.go @@ -157,10 +157,10 @@ func (receiver *Service) Pay(ctx context.Context, accessToken string, userID str return err } - receiver.logger.Debug("tariffs for buy cart", zap.Any("trtr",tariffs)) + receiver.logger.Debug("tariffs for buy cart", zap.Any("trtr", tariffs)) tariffsAmount := utils.CalculateCartPurchasesAmount(tariffs) - receiver.logger.Debug("tariffsAmount for buy cart", zap.Any("trtr",tariffsAmount)) + receiver.logger.Debug("tariffsAmount for buy cart", zap.Any("trtr", tariffsAmount)) response, err := receiver.discountClient.Apply(ctx, &discount.ApplyDiscountRequest{ UserInformation: &discount.UserInformation{ @@ -176,8 +176,8 @@ func (receiver *Service) Pay(ctx context.Context, accessToken string, userID str receiver.logger.Error("failed to discount on of ", zap.Error(err)) return err } - - receiver.logger.Debug("applyed discounts for buy cart", zap.Any("trtr",response)) + + receiver.logger.Debug("applyed discounts for buy cart", zap.Any("trtr", response)) if account.Wallet.Money < int64(response.Price) { receiver.logger.Error("insufficient funds on of ")