Skip to content

Unable to remove Discord ID for an account through the Dashboard #108

@robere2

Description

@robere2

Describe the bug
When you try to remove a user's Discord account, the edit will fail. This is because it is sending an empty string "" in the request instead of null.

To Reproduce
Steps to reproduce the behavior:

  1. Open the dashboard page https://www.rpi.tv/dashboard/users
  2. Edit or create a User and assign an 18-digit Discord ID
  3. Edit that User again and empty the Discord ID box
  4. Save. An error snackbar will appear at the bottom of the screen.

Expected behavior
The edit should succeed and the user no longer has a Discord account associated with their RPI TV account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Complexity: LOWThis issue is trivial and is expected to take less than an hour to complete.Module: UIThis issue pertains to the apps/ui modulePriority: MEDThis issue isn't critical or security-related but is holding back other issues or efficiency.Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions