From d6f970ab08b3717a0173c22530e4e5b127589d66 Mon Sep 17 00:00:00 2001 From: artarts36 Date: Thu, 23 May 2024 23:01:45 +0300 Subject: [PATCH] style: fix lint --- internal/notifier/immediately_notifier.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/notifier/immediately_notifier.go b/internal/notifier/immediately_notifier.go index 057ae8b..c4810d3 100644 --- a/internal/notifier/immediately_notifier.go +++ b/internal/notifier/immediately_notifier.go @@ -78,6 +78,8 @@ func (n *ImmediatelyNotifier) Notify(ctx context.Context, payload sentry.Payload slog.InfoContext(ctx, fmt.Sprintf("[notifier] sending %d messages", allMessagesCount)) for _, tmpl := range messengersMessages { + tmpl := tmpl + for _, mess := range tmpl.messengers { wg.Add(1)