Fix typo in "already exist" error message
This commit is contained in:
parent
fec2ffc4a2
commit
edf7f40a10
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ async function checkUserNameOrEmailDoesNotAlreadyExist (username: string, email:
|
||||||
|
|
||||||
if (user) {
|
if (user) {
|
||||||
res.status(409)
|
res.status(409)
|
||||||
.send({ error: 'User with this username of email already exists.' })
|
.send({ error: 'User with this username or email already exists.' })
|
||||||
.end()
|
.end()
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue