diff --git a/restapi.go b/restapi.go index 6286b65..ffb5587 100644 --- a/restapi.go +++ b/restapi.go @@ -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