aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorCale <1299322+WildYorkies@users.noreply.github.com>2018-03-11 08:14:35 -0700
committerGitHub <noreply@github.com>2018-03-11 08:14:35 -0700
commitedf7f40a109b057b93eb8c31602d4a3c3b1d78a2 (patch)
tree21196e05fa83406273f00f5997683c66a6d8905b
parentfec2ffc4a27d826c442f3c18a9eb6e3e2f43f9b8 (diff)
downloadPeerTube-edf7f40a109b057b93eb8c31602d4a3c3b1d78a2.tar.gz
PeerTube-edf7f40a109b057b93eb8c31602d4a3c3b1d78a2.tar.zst
PeerTube-edf7f40a109b057b93eb8c31602d4a3c3b1d78a2.zip
Fix typo in "already exist" error message
-rw-r--r--server/middlewares/validators/users.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/users.ts b/server/middlewares/validators/users.ts
index 49bc0bb56..6ea3d0b6c 100644
--- a/server/middlewares/validators/users.ts
+++ b/server/middlewares/validators/users.ts
@@ -250,7 +250,7 @@ async function checkUserNameOrEmailDoesNotAlreadyExist (username: string, email:
250 250
251 if (user) { 251 if (user) {
252 res.status(409) 252 res.status(409)
253 .send({ error: 'User with this username of email already exists.' }) 253 .send({ error: 'User with this username or email already exists.' })
254 .end() 254 .end()
255 return false 255 return false
256 } 256 }