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!

fixed breaking 2FA bug

Blue Mouse261ca62a4438
diff --git a/apps/production/src/user/user.service.ts b/apps/production/src/user/user.service.ts
index c429267f2..2c65c5700 100644
--- a/apps/production/src/user/user.service.ts
+++ b/apps/production/src/user/user.service.ts
@@ -160,8 +160,8 @@ export class UserService {
findOneWhere(
where: Record<string, unknown>,
- relations: string[] = [],
- select: any = [],
+ relations?: string[],
+ select?: any,
): Promise<User> {
return this.usersRepository.findOne({ where, relations, select })
}