diff options
Diffstat (limited to 'server/middlewares/validators/server.ts')
-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 d85afc2ff..e62a17163 100644 --- a/server/middlewares/validators/server.ts +++ b/server/middlewares/validators/server.ts | |||
@@ -57,7 +57,7 @@ const contactAdministratorValidator = [ | |||
57 | .end() | 57 | .end() |
58 | } | 58 | } |
59 | 59 | ||
60 | if (await Redis.Instance.isContactFormIpExists(req.ip)) { | 60 | if (await Redis.Instance.doesContactFormIpExist(req.ip)) { |
61 | logger.info('Refusing a contact form by %s: already sent one recently.', req.ip) | 61 | logger.info('Refusing a contact form by %s: already sent one recently.', req.ip) |
62 | 62 | ||
63 | return res | 63 | return res |