From 1e2abc8552ee8ce40ef1de08335a8eeb264f7a37 Mon Sep 17 00:00:00 2001 From: romanskijdev Date: Tue, 7 Jul 2026 13:13:49 +0300 Subject: [PATCH] Fix build error --- service/telegram_service/common/update/0_init.go | 2 +- .../telegram_service/handlers/approval/selection_approver.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service/telegram_service/common/update/0_init.go b/service/telegram_service/common/update/0_init.go index ce5f5d0..fe63bec 100644 --- a/service/telegram_service/common/update/0_init.go +++ b/service/telegram_service/common/update/0_init.go @@ -40,7 +40,7 @@ func NewUpdateHandler(ipc *types.InternalProviderControl) *UpdateHandler { // TODO: вызывается только после обновлений //go handler.broadcastBotUpdated() - go handler.sendNewSupportContactNotification() + //go handler.sendNewSupportContactNotification() return handler } diff --git a/service/telegram_service/handlers/approval/selection_approver.go b/service/telegram_service/handlers/approval/selection_approver.go index ba11a5e..fb3186a 100644 --- a/service/telegram_service/handlers/approval/selection_approver.go +++ b/service/telegram_service/handlers/approval/selection_approver.go @@ -267,7 +267,7 @@ func (h *Handler) finalizeAndSubmit(bot *tgbotapi.BotAPI, ctx context.Context, c if approval.Status != nil { approvalStatus = *approval.Status } - msgChat.ReplyMarkup = keyboard.BuildInitiatorCard(*approval.ID, approvalStatus, len(approval.Files) > 0, len(approval.Files)) + msgChat.ReplyMarkup = keyboard.BuildInitiatorCard(*approval.ID, approvalStatus, len(approval.Files) > 0, len(approval.Files), h.GetCommentsCount(ctx, *approval.ID)) bot.Send(msgChat) //nolint:errcheck } -- 2.43.0