fix email component

This commit is contained in:
Simon Larsen
2023-03-01 21:00:27 +00:00
parent d63eb54379
commit 79c8023f48

View File

@@ -134,7 +134,7 @@ export default class Email extends ComponentCode {
from: args['from'].toString(),
to: args['to'].toString(),
subject: args['subject']?.toString() || '',
html: args['body']?.toString() || '',
html: args['email-body']?.toString() || '',
});
options.log('Email sent.');