fix(basic.gblib): SEND FILE TO extension adjusted according to file type.
This commit is contained in:
parent
d1cb8b4f01
commit
1517f4f0c3
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue