From 4a9689f953defd5ab415c7e333fbeaeb5c32e650 Mon Sep 17 00:00:00 2001 From: Chris Rhodes Date: Thu, 11 Feb 2016 21:39:18 -0800 Subject: [PATCH] Cleanup --- restapi.go | 4 ---- 1 file changed, 4 deletions(-) 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