Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix typo in "already exist" error message

Caleedf7f40a109b
diff --git a/server/middlewares/validators/users.ts b/server/middlewares/validators/users.ts
index 49bc0bb560..6ea3d0b6c6 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
}