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) {
|
||||
// TODO: Solve this compilation error.
|
||||
// question = await GuaribasQuestion.findOne({
|
||||
// where: {
|
||||
// instanceId: instanceId,
|
||||
// content: { [Op.eq]: `${text}` }
|
||||
// }
|
||||
// });
|
||||
let where = {
|
||||
instanceId: instanceId,
|
||||
content: { [Op.eq]: `${text}` }
|
||||
}
|
||||
question = await GuaribasQuestion.findOne({
|
||||
where: where
|
||||
});
|
||||
}
|
||||
|
||||
if (question !== null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue