aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/contact-form.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/server/contact-form.ts')
-rw-r--r--shared/extra-utils/server/contact-form.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/extra-utils/server/contact-form.ts b/shared/extra-utils/server/contact-form.ts
index 80394cf99..e002e03dd 100644
--- a/shared/extra-utils/server/contact-form.ts
+++ b/shared/extra-utils/server/contact-form.ts
@@ -5,6 +5,7 @@ function sendContactForm (options: {
5 url: string, 5 url: string,
6 fromEmail: string, 6 fromEmail: string,
7 fromName: string, 7 fromName: string,
8 subject: string,
8 body: string, 9 body: string,
9 expectedStatus?: number 10 expectedStatus?: number
10}) { 11}) {
@@ -13,6 +14,7 @@ function sendContactForm (options: {
13 const body: ContactForm = { 14 const body: ContactForm = {
14 fromEmail: options.fromEmail, 15 fromEmail: options.fromEmail,
15 fromName: options.fromName, 16 fromName: options.fromName,
17 subject: options.subject,
16 body: options.body 18 body: options.body
17 } 19 }
18 return request(options.url) 20 return request(options.url)