mirror of
https://github.com/twentyhq/twenty.git
synced 2025-01-07 09:17:31 +03:00
Hotfix abusive throw
This commit is contained in:
parent
7621854d4b
commit
509ffddc57
@ -75,7 +75,8 @@ export class UserResolver {
|
|||||||
select,
|
select,
|
||||||
});
|
});
|
||||||
assert(user, 'User not found');
|
assert(user, 'User not found');
|
||||||
throw new Error('test2');
|
|
||||||
|
return user;
|
||||||
}
|
}
|
||||||
|
|
||||||
@UseFilters(ExceptionFilter)
|
@UseFilters(ExceptionFilter)
|
||||||
|
Loading…
Reference in New Issue
Block a user