fix(kb.gbapp): Skips blank answers lines.
This commit is contained in:
parent
4ab4476645
commit
004cc8fef5
1 changed files with 7 additions and 7 deletions
|
@ -230,13 +230,13 @@ export class KBService implements IGBKBService {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (!question) {
|
if (!question) {
|
||||||
// TODO: Solve this compilation error.
|
let where = {
|
||||||
// question = await GuaribasQuestion.findOne({
|
instanceId: instanceId,
|
||||||
// where: {
|
content: { [Op.eq]: `${text}` }
|
||||||
// instanceId: instanceId,
|
}
|
||||||
// content: { [Op.eq]: `${text}` }
|
question = await GuaribasQuestion.findOne({
|
||||||
// }
|
where: where
|
||||||
// });
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (question !== null) {
|
if (question !== null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue