]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/users.ts
fix a few typos (#2141)
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / users.ts
index 544db76d73c805b124246d42c01910baca9ba80d..871233afe52d35dd2c9d550a5a38caf696cf00b6 100644 (file)
@@ -91,7 +91,7 @@ const usersRegisterValidator = [
 
       if (body.channel.name === body.username) {
         return res.status(400)
-                  .json({ error: 'Channel name cannot be the same than user username.' })
+                  .json({ error: 'Channel name cannot be the same as user username.' })
       }
 
       const existing = await ActorModel.loadLocalByName(body.channel.name)