Atualização do READ.ME

This commit is contained in:
2026-08-24 19:00:21 -03:00
parent c4d691b202
commit 568f185d8c
7 changed files with 240 additions and 34 deletions

View File

@@ -69,8 +69,8 @@ class NotificacaoService
# passa a vir do template configurado pelo ADM.
def avisar_grupos(cm, evento, user)
evt = EVENTOS.fetch(evento)
Notificacao::Despachante.disparar(
chave: evt[:chave],
Notificacao::Despachante.disparar_gatilho(
gatilho: evt[:chave],
dados: variaveis(cm, user),
assunto: "#{evt[:titulo]}#{@consolidacao.nome}",
corpo: mensagem_para_grupos(cm, evento, user)