reseller
This commit is contained in:
@@ -8,5 +8,8 @@ import { ResellerRouteGuard } from "../../modules/auth/guards/reseller.guard";
|
||||
// import { RoleGuard } from "../../modules/auth/guards/role.guard";
|
||||
|
||||
export function AuthGuards() {
|
||||
return applyDecorators(UseGuards(JwtAuthGuard, PermissionsGuard, AdminRouteGuard,ResellerRouteGuard), ApiBearerAuth("authorization"));
|
||||
return applyDecorators(UseGuards(
|
||||
JwtAuthGuard, PermissionsGuard,
|
||||
AdminRouteGuard, ResellerRouteGuard
|
||||
), ApiBearerAuth("authorization"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user