Refactor authentication endpoint in AuthenticationController

This commit is contained in:
faris Aljohari
2024-07-30 15:32:10 +03:00
parent 0b7934e9cc
commit c67b2ee46d

View File

@ -9,7 +9,7 @@ import { ApiTags } from '@nestjs/swagger';
@ApiTags('Tuya Auth')
export class AuthenticationController {
constructor(private readonly authenticationService: AuthenticationService) {}
@Post('auth1')
@Post('auth')
async Authentication() {
return await this.authenticationService.main();
}