aboutsummaryrefslogtreecommitdiffstats
path: root/routes/email.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-04-06 15:25:07 -0700
committerAdam Soltys <[email protected]>2023-04-06 15:25:07 -0700
commit99b72e143866d5cc62ba04847885070dc9a5c645 (patch)
treeabda08ae881b6e9bfff2ebbcf58d1409d7395fcf /routes/email.js
parent5083648dc113547c1c604e0c93ed0ee961f01ea3 (diff)
downloadcoinos-server-99b72e143866d5cc62ba04847885070dc9a5c645.tar.gz
coinos-server-99b72e143866d5cc62ba04847885070dc9a5c645.zip
prettier
Diffstat (limited to 'routes/email.js')
-rw-r--r--routes/email.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/routes/email.js b/routes/email.js
index ba590d4c..c043f0c8 100644
--- a/routes/email.js
+++ b/routes/email.js
@@ -13,8 +13,8 @@ export default {
.post("https://www.google.com/recaptcha/api/siteverify", {
form: {
secret,
- response,
- },
+ response
+ }
})
.json();
@@ -26,25 +26,25 @@ export default {
new SendEmailCommand({
Destination: {
CcAddresses: [],
- ToAddresses: ["[email protected]"],
+ ToAddresses: ["[email protected]"]
},
Message: {
Body: {
Html: {
Charset: "UTF-8",
- Data: JSON.stringify(body),
+ Data: JSON.stringify(body)
},
Text: {
Charset: "UTF-8",
- Data: JSON.stringify(body),
- },
+ Data: JSON.stringify(body)
+ }
},
Subject: {
Charset: "UTF-8",
- Data: body.subject || "Support Request",
- },
+ Data: body.subject || "Support Request"
+ }
},
- Source: "[email protected]",
+ Source: "[email protected]"
})
);
@@ -52,5 +52,5 @@ export default {
} else {
bail(res, "failed captcha");
}
- },
+ }
};