Skip to content

Commit

Permalink
fix(kb.gbapp): Skips blank answers lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Aug 26, 2022
1 parent bc06f4d commit 796a412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kb.gbapp/services/KBService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export class KBService implements IGBKBService {
if (!question) {
const where = {
instanceId: instanceId,
content: { [Op.like]: `%[^a-z]${text}[^a-z]%` }
content: { [Op.like]: `%^[\w.]+${text}^[\w.]+%` }
};

if (from) {
Expand Down

0 comments on commit 796a412

Please sign in to comment.