Merge pull request 'Fix build error' (#51) from fix-permissions into main
Deploy / deploy (push) Successful in 12s Details

Reviewed-on: https://72.56.235.246.nip.io/gitea/romanskijdev/ruspet_portal_back/pulls/51
This commit is contained in:
romanskijdev 2026-07-07 13:14:02 +03:00
commit ced8ad871f
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
}