1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

🐛 fix EMAIL_ALREADY_REGISTERED error message

This commit is contained in:
Flam3rboy 2021-05-26 13:30:48 +02:00
parent e23c82fff0
commit 26d7ed8368

View File

@ -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")
}
});
}