mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
rest api route fixes (#1645)
* start of the rest api router fixes. * fix more missed code
This commit is contained in:
@@ -188,7 +188,7 @@ class GuildChannel extends Channel {
|
||||
}
|
||||
}
|
||||
|
||||
return this.client.api.channels[this.id].permissions(payload.id)
|
||||
return this.client.api.channels[this.id].permissions[payload.id]
|
||||
.put({ data: payload, reason })
|
||||
.then(() => this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user