Skip to content

Commit 1bdf0a9

Browse files
committed
addressed pr review changes
1 parent 42f263a commit 1bdf0a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth/auth.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export class AuthService {
141141
throw new BadRequestException('User not found');
142142
}
143143

144-
if (user.verifiedAt === null) {
144+
if (!user.verifiedAt) {
145145
throw new BadRequestException(
146146
'User not verified. Please verify before login',
147147
);

0 commit comments

Comments
 (0)