fix(basic.gblib): ALLOW ROLE return people.

This commit is contained in:
Rodrigo Rodriguez 2024-02-25 19:49:46 -03:00
parent f8bc950514
commit 7893cabf85
2 changed files with 1 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -1353,7 +1353,7 @@ export class DialogKeywords {
const driveUrl = template['@microsoft.graph.downloadUrl'];
const res = await fetch(driveUrl);
let buf: any = Buffer.from(await res.arrayBuffer());
let localName1 = Path.join('work', gbaiName, 'cache', `${fileOnly}-${GBAdminService.getRndReadableIdentifier()}.${ext}`);
let localName1 = Path.join('work', gbaiName, 'cache', `${fileOnly.replace(/\s/gi, '')}-${GBAdminService.getNumberIdentifier()}.${ext}`);
Fs.writeFileSync(localName1, buf, { encoding: null });
url = urlJoin(GBServer.globals.publicAddress, min.botId, 'cache', Path.basename(localName1));