From 26d7ed83688dea34ad5ebfa5778ed75bb68cf18f Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Wed, 26 May 2021 13:30:48 +0200 Subject: [PATCH] :bug: fix EMAIL_ALREADY_REGISTERED error message --- src/routes/auth/register.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/auth/register.ts b/src/routes/auth/register.ts index b2531829..e24485da 100644 --- a/src/routes/auth/register.ts +++ b/src/routes/auth/register.ts @@ -85,7 +85,7 @@ router.post( throw FieldErrors({ email: { code: "EMAIL_ALREADY_REGISTERED", - message: req.t("auth.register.EMAIL_ALREADY_REGISTERED") + message: req.t("auth:register.EMAIL_ALREADY_REGISTERED") } }); }