From e8051f59ad14edce6db949c74eee61322ffff9f8 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Thu, 27 Jun 2024 19:19:43 -0300 Subject: [PATCH] new(basic.gblib): SET CONTEXT new keyword. --- packages/basic.gblib/services/SystemKeywords.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/basic.gblib/services/SystemKeywords.ts b/packages/basic.gblib/services/SystemKeywords.ts index 6afa464b..fa0159cb 100644 --- a/packages/basic.gblib/services/SystemKeywords.ts +++ b/packages/basic.gblib/services/SystemKeywords.ts @@ -2666,14 +2666,14 @@ export class SystemKeywords { GBLogEx.info(min, mydump(obj, level)); } - public async getPdf({ pid, pdfName }) { + public async getPdf({ pid, file }) { const { min } = await DialogKeywords.getProcessInfo(pid); - GBLogEx.info(min, `BASIC GET (pdf): ${pdfName}`); + GBLogEx.info(min, `BASIC GET (pdf): ${file}`); let { baseUrl, client } = await GBDeployer.internalGetDriveClient(min); const gbaiName = DialogKeywords.getGBAIPath(min.botId); let path = '/' + urlJoin(gbaiName, `${min.botId}.gbdrive`); - let template = await this.internalGetDocument(client, baseUrl, path, pdfName); + let template = await this.internalGetDocument(client, baseUrl, path, file); let url = template['@microsoft.graph.downloadUrl']; const res = await fetch(url); let data: any = Buffer.from(await res.arrayBuffer());