refactor: refactor the code

This commit is contained in:
Abdalhamid Alhamad
2025-08-11 15:33:32 +03:00
parent 150027fb71
commit ac63d4cdc7
14 changed files with 98 additions and 264 deletions

View File

@ -86,25 +86,4 @@ export class AuthController {
async logout(@Req() request: Request) {
await this.authService.logout(request);
}
// @Post('biometric/enable')
// @HttpCode(HttpStatus.NO_CONTENT)
// @UseGuards(AccessTokenGuard)
// enableBiometric(@AuthenticatedUser() { sub }: IJwtPayload, @Body() enableBiometricDto: EnableBiometricRequestDto) {
// return this.authService.enableBiometric(sub, enableBiometricDto);
// }
// @Post('biometric/disable')
// @HttpCode(HttpStatus.NO_CONTENT)
// @UseGuards(AccessTokenGuard)
// disableBiometric(@AuthenticatedUser() { sub }: IJwtPayload, @Body() disableBiometricDto: DisableBiometricRequestDto) {
// return this.authService.disableBiometric(sub, disableBiometricDto);
// }
// @Post('junior/set-passcode')
// @HttpCode(HttpStatus.NO_CONTENT)
// @Public()
// setJuniorPasscode(@Body() setPasscodeDto: setJuniorPasswordRequestDto) {
// return this.authService.setJuniorPasscode(setPasscodeDto);
// }
}