From b69990e10f1802447092b6183e9982d422c7ae85 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Tue, 13 Oct 2020 09:31:44 -0400 Subject: [PATCH] fix gok error --- connectors/slack/slack.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectors/slack/slack.go b/connectors/slack/slack.go index 656bfad..816b1c0 100644 --- a/connectors/slack/slack.go +++ b/connectors/slack/slack.go @@ -509,7 +509,7 @@ func (s *Slack) buildMessage(m slackMessage) msg.Message { Channel: m.Channel, Command: isCmd, Action: isAction, - Host: string(m.ID), + Host: fmt.Sprint(m.ID), Time: tstamp, AdditionalData: map[string]string{ "RAW_SLACK_TIMESTAMP": m.Ts, @@ -543,7 +543,7 @@ func (s *Slack) buildLightReplyMessage(m slackMessage) msg.Message { Channel: m.Channel, Command: isCmd, Action: isAction, - Host: string(m.ID), + Host: fmt.Sprint(m.ID), Time: tstamp, AdditionalData: map[string]string{ "RAW_SLACK_TIMESTAMP": m.Ts,