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

This commit is contained in:
Rodrigo Rodriguez 2022-08-26 18:37:35 -03:00
parent 4ab4476645
commit 004cc8fef5

View file

@ -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) {