Cleanup
This commit is contained in:
parent
0344155b17
commit
4a9689f953
1 changed files with 0 additions and 4 deletions
|
@ -824,10 +824,6 @@ func (s *Session) ChannelFileSend(channelID, name string, r io.Reader) (st *Mess
|
||||||
|
|
||||||
bodywriter.Close()
|
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())
|
response, err := s.request("POST", CHANNEL_MESSAGES(channelID), bodywriter.FormDataContentType(), body.Bytes())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue