From c177832fbe79d5b1b675cabb1187da54fd4f6364 Mon Sep 17 00:00:00 2001 From: bytedream Date: Sat, 31 May 2025 14:07:15 +0200 Subject: [PATCH] fix no error popup shown if a signup user wants to be in a team with themselves --- src/actions/signup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/signup.ts b/src/actions/signup.ts index 98854e0..a4dc089 100644 --- a/src/actions/signup.ts +++ b/src/actions/signup.ts @@ -32,7 +32,7 @@ export const signup = { // check if username and team member is equal if (input.username.toLowerCase() === input.teamMember.toLowerCase()) { throw new ActionError({ - code: 'BAD_REQUEST', + code: 'CONFLICT', message: 'Du kannst nicht mit dir selber in einem Team sein' }); }