mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 12:50:27 +00:00
Fix 'webook' typo in discord/webhook.go (#1344)
This commit is contained in:
parent
4f20ebead3
commit
b89102c5fc
@ -136,7 +136,7 @@ func (b *Bdiscord) handleEventWebhook(msg *config.Message, channelID string) (st
|
|||||||
b.Log.Debugf("Processing webhook sending for message %#v", msg)
|
b.Log.Debugf("Processing webhook sending for message %#v", msg)
|
||||||
discordMsg, err := b.webhookSend(msg, channelID)
|
discordMsg, err := b.webhookSend(msg, channelID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
b.Log.Errorf("Could not broadcast via webook for message %#v: %s", msg, err)
|
b.Log.Errorf("Could not broadcast via webhook for message %#v: %s", msg, err)
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
if discordMsg == nil {
|
if discordMsg == nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user