From: Cale <1299322+WildYorkies@users.noreply.github.com> Date: Sun, 11 Mar 2018 15:14:35 +0000 (-0700) Subject: Fix typo in "already exist" error message X-Git-Tag: v1.0.0-alpha.7~6^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=edf7f40a109b057b93eb8c31602d4a3c3b1d78a2;p=oweals%2Fpeertube.git Fix typo in "already exist" error message --- 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: 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 }