From 5244573936e7cf9669063c54fea8fc3b09754fcc Mon Sep 17 00:00:00 2001 From: Igor Sikachyna Date: Thu, 9 May 2024 08:07:56 -0400 Subject: [PATCH] BLOCK-2247 - Give error if user tries to link account twice (#33) --- src/services/database/user.ts | 4 ++-- src/services/discord/commands/link.ts | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/services/database/user.ts b/src/services/database/user.ts index f5ab6a7..1f3fdbe 100644 --- a/src/services/database/user.ts +++ b/src/services/database/user.ts @@ -73,7 +73,7 @@ export async function removeUser(discord: string): Promise