Chris Rhodes 9 năm trước cách đây
mục cha
commit
4a9689f953
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      restapi.go

+ 0 - 4
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