Fix typo in "already exist" error message

pull/333/head
Cale 2018-03-11 08:14:35 -07:00 committed by GitHub
parent fec2ffc4a2
commit edf7f40a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ async function checkUserNameOrEmailDoesNotAlreadyExist (username: string, email:
if (user) {
res.status(409)
.send({ error: 'User with this username of email already exists.' })
.send({ error: 'User with this username or email already exists.' })
.end()
return false
}