Webpack build for branch master: 2349238f69

This commit is contained in:
Travis CI 2017-03-21 05:27:45 +00:00
parent f3fea6ad7b
commit 0f59dde4e0
2 changed files with 3 additions and 3 deletions

View file

@ -1768,11 +1768,11 @@ class Role {
* Get an object mapping permission names to whether or not the role enables that permission * Get an object mapping permission names to whether or not the role enables that permission
* @returns {Object<string, boolean>} * @returns {Object<string, boolean>}
* @example * @example
* // print the serialized role * // print the serialized role permissions
* console.log(role.serialize()); * console.log(role.serialize());
*/ */
serialize() { serialize() {
return this.client.resolver.serializePermissions(this.permissions); return new Permissions(this.permissions).serialize();
} }
/** /**

File diff suppressed because one or more lines are too long