-
Notifications
You must be signed in to change notification settings - Fork 0
Us-05 Send email verification token to the user #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: US-04
Are you sure you want to change the base?
Conversation
constructor(private readonly emailVerificationService: EmailVerificationService) {} | ||
|
||
@Post('send-email') | ||
async sendEmail(@Body() dto: RequestEmailDto) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: Move to auth module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok dai
@@ -0,0 +1,15 @@ | |||
export const MAIL_CONSTANTS = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: Look into handlebar template that can be used together with html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will look into it dai. Thank you
this is a pr for sending verification email(Branch US-05) being compared with the branch with entities and migrations(Branch US-04)