diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/server/contact.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/server/contact.ts b/server/controllers/api/server/contact.ts index b1144c94e..de02ffc0b 100644 --- a/server/controllers/api/server/contact.ts +++ b/server/controllers/api/server/contact.ts | |||
@@ -14,7 +14,7 @@ contactRouter.post('/contact', | |||
14 | async function contactAdministrator (req: express.Request, res: express.Response) { | 14 | async function contactAdministrator (req: express.Request, res: express.Response) { |
15 | const data = req.body as ContactForm | 15 | const data = req.body as ContactForm |
16 | 16 | ||
17 | await Emailer.Instance.addContactFormJob(data.fromEmail, data.fromName, data.body) | 17 | await Emailer.Instance.addContactFormJob(data.fromEmail, data.fromName, data.subject, data.body) |
18 | 18 | ||
19 | await Redis.Instance.setContactFormIp(req.ip) | 19 | await Redis.Instance.setContactFormIp(req.ip) |
20 | 20 | ||