mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: add missing await
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user