Skip to content

Commit

Permalink
fix(kb.gbapp): Skips blank answers lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Aug 26, 2022
1 parent 4ab4476 commit 004cc8f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/kb.gbapp/services/KBService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 004cc8f

Please sign in to comment.