From 1709b94227ed33e789f1be00d26ebbb972ce86b7 Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Mon, 28 Aug 2017 07:08:37 -0700 Subject: PLT-5745 Cleaning up duplicate calls (#7298) * PLT-5745 Cleaning up duplicate calls * Fixing missing calls * Fixing broken test --- app/plugin/jira/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/plugin/jira') diff --git a/app/plugin/jira/plugin.go b/app/plugin/jira/plugin.go index ad51e723c..94922321c 100644 --- a/app/plugin/jira/plugin.go +++ b/app/plugin/jira/plugin.go @@ -72,7 +72,7 @@ func (p *Plugin) handleWebhook(w http.ResponseWriter, r *http.Request) { "from_webhook": "true", "attachments": []*model.SlackAttachment{attachment}, }, - }, channel.TeamId); err != nil { + }); err != nil { http.Error(w, p.api.I18n(err.Message, r), err.StatusCode) } } -- cgit v1.2.3-1-g7c22