Settings#update() is returning a string for the updated.next value instead of a role when doing something like conf set adminRole someRoleID. This makes the serializer.stringify method return undefined because string.name is not defined.
Expected and actual behavior
updated.next should be a Role on a Role setting such that serializer.strinigfy returns the role name instead of undefined.
Further details
@klasa/core version: 0.0.3-dev
node.js version: 14.5.0
Klasa version: 0.6.0-dev
[ ] I have modified core files.
[x] I have tested the issue on latest build branch.
Describe the issue
Settings#update() is returning a string for the updated.next value instead of a role when doing something like
conf set adminRole someRoleID
. This makes the serializer.stringify method return undefined because string.name is not defined.Expected and actual behavior
updated.next should be a Role on a Role setting such that serializer.strinigfy returns the role name instead of undefined.
Further details