Delete userWorkspace when removed from workspace (#13131)

Fixes https://github.com/twentyhq/twenty/issues/13024
This commit is contained in:
Charles Bochet
2025-07-09 18:34:50 +02:00
committed by GitHub
parent eba997be98
commit 7e419337b5
71 changed files with 377 additions and 436 deletions

View File

@ -102,7 +102,7 @@ describe('Core REST API Create Many endpoint', () => {
method: 'post',
path: `/batch/people`,
body: requestBody,
bearer: ADMIN_ACCESS_TOKEN,
bearer: APPLE_JANE_ADMIN_ACCESS_TOKEN,
})
.expect(201)
.expect((res) => {

View File

@ -87,7 +87,7 @@ describe('Core REST API Create One endpoint', () => {
method: 'post',
path: `/people`,
body: requestBody,
bearer: ADMIN_ACCESS_TOKEN,
bearer: APPLE_JANE_ADMIN_ACCESS_TOKEN,
})
.expect(201)
.expect((res) => {