Fix webhook issue (#6711)

Fix
[#web](https://github.com/orgs/twentyhq/projects/1/views/3?pane=issue&itemId=75329194)

This PR does 2 things:
- migrate webhooks to TwentyORM
- Fix inversion between objectNameSingular and operation in webhook
eventName. It is stored as {objectNameSingular}.{operation} and we were
querying {operation}.{objectNameSingular}
This commit is contained in:
Charles Bochet
2024-08-21 15:33:38 +02:00
committed by GitHub
parent 612a875c7b
commit 79641327f3
3 changed files with 28 additions and 30 deletions

View File

@ -45,4 +45,4 @@
}
],
"extends": "../../tsconfig.base.json"
}
}