From be20314200d06c1c7b4b369596b3f7f190d4553e Mon Sep 17 00:00:00 2001 From: AGMETEOR Date: Wed, 12 Feb 2020 19:45:25 +0300 Subject: [PATCH] Fix faulty webhook URL --- server/webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/webhook.go b/server/webhook.go index 8dc12df74..dc40af078 100644 --- a/server/webhook.go +++ b/server/webhook.go @@ -180,5 +180,5 @@ func (p *Plugin) GetWebhookURL(teamId, channelId string) (string, error) { v.Add("secret", secret) v.Add("team", team.Name) v.Add("channel", channel.Name) - return p.GetPluginURL() + "/" + routeIncomingWebhook + "?" + v.Encode(), nil + return p.GetPluginURL() + routeIncomingWebhook + "?" + v.Encode(), nil }