Do not set content-type for GuildChannels endpoint
This commit is contained in:
parent
a00f64aa86
commit
65a1d5cf6a
1 changed files with 1 additions and 1 deletions
|
@ -686,7 +686,7 @@ func (s *Session) GuildMemberNickname(guildID, userID, nickname string) (err err
|
|||
// guildID : The ID of a Guild.
|
||||
func (s *Session) GuildChannels(guildID string) (st []*Channel, err error) {
|
||||
|
||||
body, err := s.Request("GET", GUILD_CHANNELS(guildID), nil)
|
||||
body, err := s.request("GET", GUILD_CHANNELS(guildID), "", nil)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue