fix(core.gbapp): #373 fix.

This commit is contained in:
Rodrigo Rodriguez 2023-09-29 15:18:50 -03:00
parent fff1504a00
commit 9dfd3412ba

View file

@ -527,7 +527,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 user = step ? await min.userProfile.get(step.context, {}) : null; const sec = new SecService();
let user = await sec.getUserFromSystemId(step?step.context.activity.from.id:mobile);
let text = answer; let text = answer;
// Calls language translator. // Calls language translator.