Skip to content

Bug Report by Discord User Hali#1024 #155

@Kigstn

Description

@Kigstn

Image

https://cdn.discordapp.com/ephemeral-attachments/942433580485861451/943637115483349043/huge_Q.png

What command / part of me is affected

/register

Please describe the bug in detail

Using /register with a secondary account fails.

What did you want to happen

to replace the previously associated destiny-account

What did actually happen

DETAIL:  Key (discord_id)=(219517105249189888) already exists.

  File "/app/./Backend/endpoints/auth.py", line 37, in save_bungie_token
    result, user, discord_id, guild_id = await discord_users.insert_profile(db=db, bungie_token=bungie_token)
  File "/app/./Backend/crud/destiny/discordUsers.py", line 177, in insert_profile
    await self._insert(db=db, to_create=user)```
⁣
⁣
_This action was performed automatically by a bot_

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrom_discordBug issued directly from discord

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions