diff options
Diffstat (limited to 'server/middlewares')
-rw-r--r-- | server/middlewares/validators/server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/server.ts b/server/middlewares/validators/server.ts index d82e19230..d85afc2ff 100644 --- a/server/middlewares/validators/server.ts +++ b/server/middlewares/validators/server.ts | |||
@@ -50,7 +50,7 @@ const contactAdministratorValidator = [ | |||
50 | .end() | 50 | .end() |
51 | } | 51 | } |
52 | 52 | ||
53 | if (Emailer.Instance.isEnabled() === false) { | 53 | if (Emailer.isEnabled() === false) { |
54 | return res | 54 | return res |
55 | .status(409) | 55 | .status(409) |
56 | .send({ error: 'Emailer is not enabled on this instance.' }) | 56 | .send({ error: 'Emailer is not enabled on this instance.' }) |