Fix typo in "user already exist" error message (PR #333 from WildYorkies)

pull/336/head
Rigel Kent 2018-03-11 17:43:10 +01:00 committed by GitHub
commit 416c359cb5
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
}