diff --git a/packages/twenty-server/src/engine/core-modules/auth/services/auth.service.ts b/packages/twenty-server/src/engine/core-modules/auth/services/auth.service.ts index 0a158e5dd..11d6c1d63 100644 --- a/packages/twenty-server/src/engine/core-modules/auth/services/auth.service.ts +++ b/packages/twenty-server/src/engine/core-modules/auth/services/auth.service.ts @@ -152,7 +152,7 @@ export class AuthService { where: { id: userId, }, - relations: ['defaultWorkspace'], + relations: ['defaultWorkspace', 'workspaces', 'workspaces.workspace'], }); assert(user, "This user doesn't exist", NotFoundException);