Update GuildChannelsReorder with new endpoints

This commit is contained in:
Bruce Marriner 2016-06-04 19:50:20 -05:00
parent 15f6afb2d7
commit 323216e171

View file

@ -721,7 +721,7 @@ func (s *Session) GuildChannelCreate(guildID, name, ctype string) (st *Channel,
// channels : Updated channels.
func (s *Session) GuildChannelsReorder(guildID string, channels []*Channel) (err error) {
_, err = s.Request("PATCH", GUILD_CHANNELS(guildID), channels)
_, err = s.Request("PATCH", EndpointGuildChannels(guildID), channels)
return
}