📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
rm usr service
Blue Mouse154432a2ebdc
diff --git a/selfhosted-src/auth/guards/roles.guard.ts b/selfhosted-src/auth/guards/roles.guard.tsindex 5dbdcd853..927c92124 100644--- a/selfhosted-src/auth/guards/roles.guard.ts+++ b/selfhosted-src/auth/guards/roles.guard.ts@@ -4,7 +4,6 @@ import { ExtractJwt } from 'passport-jwt'import { verify } from 'jsonwebtoken'import { UserType } from 'selfhosted-src/user/entities/user.entity'-import { UserService } from 'selfhosted-src/user/user.service'import { JWT_ACCESS_TOKEN_SECRET } from 'selfhosted-src/common/constants'import { ROLES_KEY } from '../decorators'@@ -12,7 +11,6 @@ import { ROLES_KEY } from '../decorators'export class RolesGuard implements CanActivate {constructor(private readonly reflector: Reflector,- private readonly userService: UserService,) {}async canActivate(context: ExecutionContext) {