aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api')
-rw-r--r--server/controllers/api/server/contact.ts2
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',
14async function contactAdministrator (req: express.Request, res: express.Response) { 14async 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