Skip to content

📈 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!

remove unused var

Blue Mouse7702a9cab9d3
diff --git a/src/auth/auth.controller.ts b/src/auth/auth.controller.ts
index 582601f42..992dd46cd 100644
--- a/src/auth/auth.controller.ts
+++ b/src/auth/auth.controller.ts
@@ -27,7 +27,11 @@ import { I18nValidationExceptionFilter, I18n, I18nContext } from 'nestjs-i18n'
import * as _pick from 'lodash/pick'
import { checkRateLimit } from 'src/common/utils'
-import { UserType, User, generateSelfhostedUser } from 'src/user/entities/user.entity'
+import {
+ UserType,
+ User,
+ generateSelfhostedUser,
+} from 'src/user/entities/user.entity'
import { UserService } from 'src/user/user.service'
import { isSelfhosted } from 'src/common/constants'
import { AuthService } from './auth.service'
diff --git a/src/auth/auth.service.ts b/src/auth/auth.service.ts
index c8ec13e11..36822bbad 100644
--- a/src/auth/auth.service.ts
+++ b/src/auth/auth.service.ts
@@ -52,7 +52,6 @@ import {
SELFHOSTED_EMAIL,
SELFHOSTED_PASSWORD,
} from 'src/common/constants'
-import { RefreshToken } from 'src/user/entities/refresh-token.entity'
import { SSOProviders } from './dtos/sso-generate.dto'
import { UserGoogleDTO } from '../user/dto/user-google.dto'
import { UserGithubDTO } from '../user/dto/user-github.dto'