Change endpoint name from 'auth' to 'auth1' in AuthenticationController

This commit is contained in:
faris Aljohari
2024-07-22 19:45:33 +03:00
parent 243848ad63
commit 4d966feaba

View File

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