From 436d9d28b89fece52b2c42c93127eed914c35325 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Mon, 11 Sep 2023 10:51:43 -0300 Subject: [PATCH] fix(all): Fix search on others bots than boot. --- packages/core.gbapp/services/GBMinService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core.gbapp/services/GBMinService.ts b/packages/core.gbapp/services/GBMinService.ts index 43ba9c12..ee3fbb13 100644 --- a/packages/core.gbapp/services/GBMinService.ts +++ b/packages/core.gbapp/services/GBMinService.ts @@ -1202,7 +1202,7 @@ export class GBMinService { // In case of not having HEAR activated before, it is // a upload with no Dialog, so run Auto Save to .gbdrive. - if (!min.cbMap[user.userId]) { + if (!min.cbMap[user.userId] && autoSave) { const t = new SystemKeywords(); GBLog.info(`BASIC (${min.botId}): Upload done for ${attachmentData.fileName}.`); const handle = WebAutomationServices.cyrb53(min.botId + attachmentData.fileName); @@ -1358,7 +1358,7 @@ export class GBMinService { return; } } - + const notes = min.core.getParam(min.instance, 'Notes', null); await this.handleUploads(min, step, user, params, notes != null);