fix(basic.gblib): SEND FILE TO extension adjusted according to file type.

This commit is contained in:
Rodrigo Rodriguez 2023-12-19 16:55:49 -03:00
parent d1cb8b4f01
commit 1517f4f0c3

View file

@ -1269,7 +1269,7 @@ export class DialogKeywords {
GBLog.info(`BASIC: Direct send from .gbdrive: ${filename} to ${mobile}.`);
const ext = mime.extension(Path.extname(filename));
const ext = Path.extname(filename);
const gbaiName = DialogKeywords.getGBAIPath(min.botId);
let { baseUrl, client } = await GBDeployer.internalGetDriveClient(min);
@ -1289,7 +1289,7 @@ export class DialogKeywords {
if (!url) {
const ext = mime.extension(Path.extname(filename.localName));
const ext = Path.extname(filename.localName);
// Prepare a cache to be referenced by Bot Framework.