mirror of
https://github.com/twentyhq/twenty.git
synced 2024-09-11 15:35:36 +03:00
Fix authentication resolver
This commit is contained in:
parent
3c5c9c2f31
commit
41aae5bd20
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user