From b576b6f54deec2dfb779c8c3018af2da001d4196 Mon Sep 17 00:00:00 2001 From: rodrigorodriguez Date: Tue, 7 Mar 2023 12:28:45 -0300 Subject: [PATCH] fix(basic.gblib): Fixes in WebAutomation. --- packages/basic.gblib/services/DialogKeywords.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/basic.gblib/services/DialogKeywords.ts b/packages/basic.gblib/services/DialogKeywords.ts index 1dd9456d..e4c0d89b 100644 --- a/packages/basic.gblib/services/DialogKeywords.ts +++ b/packages/basic.gblib/services/DialogKeywords.ts @@ -774,9 +774,11 @@ export class DialogKeywords { await sleep(DEFAULT_HEAR_POLL_INTERVAL); } - const answer = min.cbMap[userId].promise; + const answer = min. cbMap[userId].promise; - if (kind === 'sheet') { + if (!kind) { + result = answer; + } else if (kind === 'sheet') { // Retrieves the .xlsx file associated with the HEAR var AS file.xlsx. let { baseUrl, client } = await GBDeployer.internalGetDriveClient(min);