Fix build error

This commit is contained in:
romanskijdev 2026-07-07 13:13:49 +03:00
parent 71a6b0959c
commit 1e2abc8552
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ func NewUpdateHandler(ipc *types.InternalProviderControl) *UpdateHandler {
// TODO: вызывается только после обновлений
//go handler.broadcastBotUpdated()
go handler.sendNewSupportContactNotification()
//go handler.sendNewSupportContactNotification()
return handler
}

View File

@ -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
}