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:
yassinedorbozgithub 2025-06-17 11:09:06 +01:00
commit 1fdaa87996

View File

@ -231,8 +231,8 @@ describe('NlpValueRepository', () => {
it('should create and attached a foreign_id to the create nlp value with builtin true', async () => {
nlpValueRepository.eventEmitter.once(
'hook:nlpValue:postCreate',
async (...args) => {
await nlpService.handleValuePostCreate(args[0]);
async (...[created]) => {
await nlpService.handleValuePostCreate(created);
},
);