Fix authentication resolver
This commit is contained in:
@ -152,7 +152,7 @@ export class AuthService {
|
|||||||
where: {
|
where: {
|
||||||
id: userId,
|
id: userId,
|
||||||
},
|
},
|
||||||
relations: ['defaultWorkspace'],
|
relations: ['defaultWorkspace', 'workspaces', 'workspaces.workspace'],
|
||||||
});
|
});
|
||||||
|
|
||||||
assert(user, "This user doesn't exist", NotFoundException);
|
assert(user, "This user doesn't exist", NotFoundException);
|
||||||
|
|||||||
Reference in New Issue
Block a user