Skip to content

Commit

Permalink
fix(basic.gblib): #286 fix token replaacement.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Mar 9, 2023
1 parent 7c42e3a commit a679786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/whatsapp.gblib/services/WhatsappDirectLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});
}
Expand Down

0 comments on commit a679786

Please sign in to comment.