fix(core.gbapp): #372 fix.
This commit is contained in:
parent
49d47f6e6c
commit
dfd6981907
2 changed files with 33 additions and 31 deletions
|
@ -1230,7 +1230,7 @@ export class DialogKeywords {
|
|||
GBLog.info(`BASIC: Markdown file ${filename} not found on database for ${min.instance.botId}.`);
|
||||
}
|
||||
|
||||
await min.conversationalService['playMarkdown'](min, md, DialogKeywords.getChannel(), mobile);
|
||||
await min.conversationalService['playMarkdown'](min, md, DialogKeywords.getChannel(), null, mobile);
|
||||
} else {
|
||||
const gbaiName = DialogKeywords.getGBAIPath(min.botId, `gbkb`);
|
||||
|
||||
|
|
|
@ -526,7 +526,9 @@ export class GBConversationalService {
|
|||
});
|
||||
}
|
||||
|
||||
public async playMarkdown(min: GBMinInstance, answer: string, channel: string, step: GBDialogStep, mobile: string) {
|
||||
public async playMarkdown(min: GBMinInstance, answer: string, channel: string,
|
||||
step: GBDialogStep, mobile: string) {
|
||||
|
||||
const sec = new SecService();
|
||||
const user = await sec.getUserFromSystemId(mobile ? mobile : step.context.activity.from.id);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue