fix(basic.gblib): #286 fix token replaacement.
This commit is contained in:
parent
7c42e3a1c5
commit
a679786217
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ export class WhatsappDirectLine extends GBService {
|
|||
const answer = this.min.kbService['getAnswerById'](this.min.instance.instanceId, q.answerId);
|
||||
answerText = answer.content;
|
||||
|
||||
answerText = answerText.replace(/\$username/, fromName);
|
||||
answerText = answerText.replace(/\$username/gi, fromName);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue