subject line contains message

main
Matt Huntington 1 month ago
parent ed008d4466
commit 69448e43f5

@ -32,7 +32,7 @@ async function sendEmail(text, recordedAt) {
body: JSON.stringify({ body: JSON.stringify({
from: MAIL_FROM, from: MAIL_FROM,
to: recipients, to: recipients,
subject: 'New Pebble voice memo', subject: `${text}`,
text: `${text}\n\nRecorded ${recordedAt.toLocaleString()}`, text: `${text}\n\nRecorded ${recordedAt.toLocaleString()}`,
}), }),
signal: AbortSignal.timeout(10_000), signal: AbortSignal.timeout(10_000),

Loading…
Cancel
Save