-
Notifications
You must be signed in to change notification settings - Fork 16
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
Refactor user and auth module APIs #377
Conversation
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
…nto refactor-auth-module-api
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
…nto refactor-auth-module-api
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
@@ -243,8 +243,7 @@ export class UserController { | |||
/** | |||
* | |||
* @param email | |||
* @param res | |||
* @returns User email check | |||
* @returns User's email exist status | |||
*/ | |||
@Get('/:email') | |||
@ApiOperation({ summary: 'Check user exist', description: 'check user existence' }) |
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.
Please replace summary and description with "Check if user exists"
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.
Resolved.
private readonly logger: Logger | ||
) {} | ||
|
||
/** | ||
* | ||
* @param userEmailVerificationDto | ||
* @param userEmailVerification | ||
* @returns user email |
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.
Replace with "User's email"
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.
Resolved.
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
/auth/verify
to Verify user’s email./auth/verification-mail
to Send verification mail./users/{email}
to Check user exist.What
Promise<object>
.How
Why