mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 17:37:55 +00:00
Refactor activation code handling and user space verification
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user