Fix broken graphql playground (#13287)

Fixes https://github.com/twentyhq/twenty/issues/12991
Also fixes a regression on main where updateEvent are not correctly emit
when calling repository.update()
This commit is contained in:
Charles Bochet
2025-07-19 09:32:26 +02:00
committed by GitHub
parent 19dad8f23a
commit 62202af1a9
4 changed files with 24 additions and 17 deletions
@@ -285,7 +285,7 @@ describe('WorkspaceEntityManager', () => {
it('should call createQueryBuilder with permissionOptions for update', async () => {
await entityManager.update('test-entity', {}, {}, mockPermissionOptions);
expect(entityManager['createQueryBuilder']).toHaveBeenCalledWith(
undefined,
'test-entity',
undefined,
undefined,
mockPermissionOptions,