fix(basic.gbapp): AS IMAGE testing.

This commit is contained in:
Rodrigo Rodriguez 2023-08-13 16:33:13 -03:00
parent 0f92f5f273
commit e42140eba7

View file

@ -1224,7 +1224,7 @@ export class DialogKeywords {
const imageData = await (await fetch(url)).arrayBuffer(); const imageData = await (await fetch(url)).arrayBuffer();
const contentType = mime.lookup(url); const contentType = mime.lookup(url);
const ext = mime.extension(filename.localName); const ext = mime.extension( Path.extname(filename.localName));
reply['attachments'] = []; reply['attachments'] = [];
// Prepare a cache to be referenced by Bot Framework. // Prepare a cache to be referenced by Bot Framework.