This commit is contained in:
Chris Rhodes 2016-02-11 21:39:18 -08:00
parent 0344155b17
commit 4a9689f953

View file

@ -824,10 +824,6 @@ func (s *Session) ChannelFileSend(channelID, name string, r io.Reader) (st *Mess
bodywriter.Close()
se := body.String()
fmt.Println(se)
// Send the message to the given channel
response, err := s.request("POST", CHANNEL_MESSAGES(channelID), bodywriter.FormDataContentType(), body.Bytes())
if err != nil {
return