rest api route fixes (#1645)

* start of the rest api router fixes.

* fix more missed code
This commit is contained in:
bdistin
2017-07-02 03:43:10 -05:00
committed by Amish Shah
parent 8da557faab
commit d266804953
3 changed files with 4 additions and 4 deletions

View File

@@ -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);
}