fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit 004cc8fef5 - Show all commits

View file

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