From b0f43441b50387fc045e5ef1288290d8ea52437f Mon Sep 17 00:00:00 2001 From: Alexander Kiryukhin Date: Fri, 1 Feb 2019 01:30:50 +0300 Subject: fixes --- message.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'message.go') diff --git a/message.go b/message.go index cb13e75..e9aaf74 100644 --- a/message.go +++ b/message.go @@ -10,9 +10,9 @@ import ( func sendMessage(responseUrl, origText, text string) error { jm := message{ - Text: origText, - //ResponseType: "in_channel", - Attachments: []Attachment{{Text: text, Color: "#36a64f"}}, + Text: origText, + ResponseType: "in_channel", + Attachments: []attachment{{Text: text, Color: "#36a64f"}}, } b, _ := json.Marshal(jm) -- cgit v1.2.3