Merge pull request 'Fix build error' (#51) from fix-permissions into main
Deploy / deploy (push) Successful in 12s
Details
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:
commit
ced8ad871f
|
|
@ -40,7 +40,7 @@ func NewUpdateHandler(ipc *types.InternalProviderControl) *UpdateHandler {
|
|||
|
||||
// TODO: вызывается только после обновлений
|
||||
//go handler.broadcastBotUpdated()
|
||||
go handler.sendNewSupportContactNotification()
|
||||
//go handler.sendNewSupportContactNotification()
|
||||
|
||||
return handler
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue