add jwt guard

This commit is contained in:
faris Aljohari
2024-10-19 13:36:18 -05:00
parent 8431ee3660
commit d112a3474c

View File

@ -192,7 +192,7 @@ export class DeviceController {
); );
} }
@ApiBearerAuth() @ApiBearerAuth()
// @UseGuards(JwtAuthGuard) @UseGuards(JwtAuthGuard)
@Get(':powerClampUuid/power-clamp/status') @Get(':powerClampUuid/power-clamp/status')
async getPowerClampInstructionStatus( async getPowerClampInstructionStatus(
@Param('powerClampUuid') powerClampUuid: string, @Param('powerClampUuid') powerClampUuid: string,