Refactor activation code handling and user space verification

This commit is contained in:
faris Aljohari
2025-01-10 06:18:48 -06:00
parent 79b3b14a9c
commit bdbab026f5
7 changed files with 183 additions and 118 deletions
@@ -76,9 +76,7 @@ export class InviteUserController {
async activationCodeController(
@Body() activateCodeDto: ActivateCodeDto,
): Promise<BaseResponseDto> {
return await this.inviteUserService.activationCodeController(
activateCodeDto,
);
return await this.inviteUserService.activationCode(activateCodeDto);
}
@ApiBearerAuth()
@UseGuards(JwtAuthGuard)