mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-10 17:59:09 +00:00
Local Connections
This commit is contained in:
@@ -20,6 +20,5 @@ export const User: (options?: { required?: boolean }) => ParameterDecorator =
|
||||
if (!request.user && options?.required) {
|
||||
throw new ErrorBuilder(ErrorCodes.AUTH.UNAUTHORIZED);
|
||||
}
|
||||
|
||||
return request.user;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user