This repository has been archived by the owner on Aug 28, 2020. It is now read-only.
Settings#update() returns the wrong data #1114
Labels
Bug: Confirmed
Issues that report confirmed bugs.
Mod: SettingsGateway
Issues and PRs related to SettingsGateway.
Status: Help Wanted
Issues that need assistance from volunteers or PRs that need help to proceed.
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
The text was updated successfully, but these errors were encountered: