fix: add missing await

This commit is contained in:
yassinedorbozgithub
2024-12-07 11:59:00 +01:00
parent 62e59069dd
commit afa8364996
12 changed files with 17 additions and 17 deletions

View File

@@ -272,7 +272,7 @@ export default class CoreNluHelper extends BaseNlpHelper<
},
);
return this.filterEntitiesByConfidence(nlp, threshold);
return await this.filterEntitiesByConfidence(nlp, threshold);
} catch (err) {
this.logger.error('Core NLU Helper : Unable to parse nlp', err);
throw err;