fix(basic.gblib): SEND EMAIL body is now optional.
This commit is contained in:
parent
f52f52d716
commit
9b59146034
1 changed files with 18 additions and 13 deletions
|
@ -526,6 +526,11 @@ export class DialogKeywords {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public async sendEmail({ pid, to, subject, body }) {
|
public async sendEmail({ pid, to, subject, body }) {
|
||||||
|
|
||||||
|
if (!body) {
|
||||||
|
body = "";
|
||||||
|
};
|
||||||
|
|
||||||
// tslint:disable-next-line:no-console
|
// tslint:disable-next-line:no-console
|
||||||
|
|
||||||
GBLog.info(`[E-mail]: to:${to},subject: ${subject},body: ${body}.`);
|
GBLog.info(`[E-mail]: to:${to},subject: ${subject},body: ${body}.`);
|
||||||
|
|
Loading…
Add table
Reference in a new issue