mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-22 03:49:25 +01:00
Fix linting
This commit is contained in:
parent
815d8b804f
commit
a89267943c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user