style: format code
This commit is contained in:
parent
637f33d0ff
commit
3e877ea1d2
7 changed files with 33 additions and 13 deletions
|
@ -35,7 +35,10 @@ export async function registerAction(data: z.infer<typeof registerSchema>) {
|
|||
},
|
||||
});
|
||||
|
||||
if (existingUsername || disallowedUsernames.includes(username.toLowerCase())) {
|
||||
if (
|
||||
existingUsername ||
|
||||
disallowedUsernames.includes(username.toLowerCase())
|
||||
) {
|
||||
return {
|
||||
error: 'Username already exists',
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue