fix(kb.gbapp): Skips blank answers lines.

This commit is contained in:
Rodrigo Rodriguez 2022-08-26 18:07:58 -03:00
parent bc06f4df5c
commit 796a412e32

View file

@ -219,7 +219,7 @@ export class KBService implements IGBKBService {
if (!question) { if (!question) {
const where = { const where = {
instanceId: instanceId, instanceId: instanceId,
content: { [Op.like]: `%[^a-z]${text}[^a-z]%` } content: { [Op.like]: `%^[\w.]+${text}^[\w.]+%` }
}; };
if (from) { if (from) {