mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Merge branch '1132-issue---api-make-sure-hookentityprepostcreate-is-used-across-the-board' into 1134-issue---api-make-sure-hookentityprepostupdate-is-used-across-the-board
This commit is contained in:
commit
1fdaa87996
@ -231,8 +231,8 @@ describe('NlpValueRepository', () => {
|
|||||||
it('should create and attached a foreign_id to the create nlp value with builtin true', async () => {
|
it('should create and attached a foreign_id to the create nlp value with builtin true', async () => {
|
||||||
nlpValueRepository.eventEmitter.once(
|
nlpValueRepository.eventEmitter.once(
|
||||||
'hook:nlpValue:postCreate',
|
'hook:nlpValue:postCreate',
|
||||||
async (...args) => {
|
async (...[created]) => {
|
||||||
await nlpService.handleValuePostCreate(args[0]);
|
await nlpService.handleValuePostCreate(created);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user