From 32d7f2b754b8d20bf44ae2121c79570cbff973c3 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Mon, 23 Sep 2019 08:17:42 +0200 Subject: fix a few typos (#2141) * fix a few typos * apply changes to original files instead * additional correction --- server/middlewares/validators/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/middlewares/validators/users.ts') diff --git a/server/middlewares/validators/users.ts b/server/middlewares/validators/users.ts index 544db76d7..871233afe 100644 --- a/server/middlewares/validators/users.ts +++ b/server/middlewares/validators/users.ts @@ -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) -- cgit v1.2.3