ESLint warnings (#852)

This commit is contained in:
Hackzzila
2016-10-27 16:19:20 -05:00
committed by Amish Shah
parent c9dbf1f7f0
commit 30105536a6
2 changed files with 1 additions and 2 deletions

View File

@@ -650,7 +650,7 @@ class Guild {
const updatedRoles = this.roles.array().map(r => ({
id: r.id,
position: r.id === role ? position : (r.position < position ? r.position : r.position + 1),
position: r.id === role ? position : r.position < position ? r.position : r.position + 1,
}));
return this.client.rest.methods.setRolePositions(this.id, updatedRoles);