From a89267943c191bf8e117f4a01d9bf7ca7c0b4c90 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 24 May 2024 00:31:18 +0200 Subject: [PATCH] Fix linting --- bridge/discord/webhook.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bridge/discord/webhook.go b/bridge/discord/webhook.go index 74a272b0..ef129d4c 100644 --- a/bridge/discord/webhook.go +++ b/bridge/discord/webhook.go @@ -170,10 +170,10 @@ func (b *Bdiscord) handleEventWebhook(msg *config.Message, channelID string) (st b.Log.Debugf("Processing webhook sending for message %#v", msg) msg.Text = b.replaceUserMentions(msg.Text) - msgId, err := b.webhookSend(msg, channelID) + msgID, err := b.webhookSend(msg, channelID) if err != nil { - b.Log.Errorf("Could not broadcast via webhook for message %#v: %s", msgId, err) + b.Log.Errorf("Could not broadcast via webhook for message %#v: %s", msgID, err) return "", err } - return msgId, nil + return msgID, nil }