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
All checks were successful
deploy / build-and-deploy (push) Successful in 16s
This commit is contained in:
parent
6aa492cf42
commit
c177832fbe
@ -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'
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user