fix(basic.gbapp): AS IMAGE testing.

This commit is contained in:
Rodrigo Rodriguez 2023-08-12 20:10:37 -03:00
parent c182d5000a
commit 37ffacf5b3

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(url); const ext = mime.extension(filename.localName);
reply['attachments'] = []; reply['attachments'] = [];
// Prepare a cache to be referenced by Bot Framework. // Prepare a cache to be referenced by Bot Framework.