From 5052dbc1a4c6adcc741ebc3e52a6a80ce1b2a4ab Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Sat, 4 Jun 2022 17:10:14 -0300 Subject: [PATCH] new(basic.gblib): AS IMAGE, AS PDF, SET THEME and SQL new keywords. --- packages/basic.gblib/services/DialogKeywords.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/basic.gblib/services/DialogKeywords.ts b/packages/basic.gblib/services/DialogKeywords.ts index 01e4b145..5c8e319d 100644 --- a/packages/basic.gblib/services/DialogKeywords.ts +++ b/packages/basic.gblib/services/DialogKeywords.ts @@ -802,7 +802,13 @@ export class DialogKeywords { const url = urlJoin( GBServer.globals.publicAddress, 'kb', - `${this.min.botId}.gbaiurlonalService.sendFile(this.min, step, mobile, url, caption); + `${this.min.botId}.gbai`, + `${this.min.botId}.gbkb`, + 'assets', + filename + ); + + await this.min.conversationalService.sendFile(this.min, step, mobile, url, caption); } } -} +} \ No newline at end of file