Skip to content

Commit

Permalink
uncomment check for env
Browse files Browse the repository at this point in the history
  • Loading branch information
daisykucharski committed Oct 19, 2023
1 parent 6bf9df2 commit 29eacdc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/api-v2/src/auth/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ export class AuthController {
sameSite: "strict",
secure: isSecure,
});
// if (process.env.NODE_ENV !== "testing") {
await this.emailConfirmationService.sendVerificationLink(
createStudentDto.email
);
// }
if (process.env.NODE_ENV !== "testing") {
await this.emailConfirmationService.sendVerificationLink(
createStudentDto.email
);
}
return student;
}

Expand Down

0 comments on commit 29eacdc

Please sign in to comment.