diff --git a/packages/kb.gbapp/services/KBService.ts b/packages/kb.gbapp/services/KBService.ts index bea1bdc2..4b14e2bb 100644 --- a/packages/kb.gbapp/services/KBService.ts +++ b/packages/kb.gbapp/services/KBService.ts @@ -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) {