fix(kb.gbapp): Skips blank answers lines.
This commit is contained in:
parent
bc06f4df5c
commit
796a412e32
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue