Hotfix abusive throw

This commit is contained in:
Charles Bochet 2023-09-11 15:23:32 -07:00
parent 7621854d4b
commit 509ffddc57

View File

@ -75,7 +75,8 @@ export class UserResolver {
select,
});
assert(user, 'User not found');
throw new Error('test2');
return user;
}
@UseFilters(ExceptionFilter)