Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
4H1R committed Aug 24, 2022
1 parent 0c6e240 commit a82a5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class AuthService {
constructor(private prisma: PrismaService, private jwt: JwtService) {}

public async register(registerDto: RegisterDto) {
const { name, password, email } = registerDto;
const { password, email } = registerDto;
const lowercasedEmail = email.toLocaleLowerCase();
const user = await this.prisma.user.findUnique({
where: { email: lowercasedEmail },
Expand Down

0 comments on commit a82a5d3

Please sign in to comment.