fix(basic.gblib): SEND EMAIL body is now optional.

This commit is contained in:
Rodrigo Rodriguez 2024-04-02 17:52:17 -03:00
parent f52f52d716
commit 9b59146034

View file

@ -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}.`);