1
0
Fork 0

Fix typo in "already exist" error message

This commit is contained in:
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

View file

@ -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
} }