fix no error popup shown if a signup user wants to be in a team with themselves
All checks were successful
deploy / build-and-deploy (push) Successful in 16s

This commit is contained in:
bytedream 2025-05-31 14:07:15 +02:00
parent 6aa492cf42
commit c177832fbe

View File

@ -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'
});
}