From d112a3474cfa37eeb2dae681c3b56c645df56b3b Mon Sep 17 00:00:00 2001 From: faris Aljohari <83524184+farisaljohari@users.noreply.github.com> Date: Sat, 19 Oct 2024 13:36:18 -0500 Subject: [PATCH] add jwt guard --- src/device/controllers/device.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device/controllers/device.controller.ts b/src/device/controllers/device.controller.ts index d0ebbc9..7a2543e 100644 --- a/src/device/controllers/device.controller.ts +++ b/src/device/controllers/device.controller.ts @@ -192,7 +192,7 @@ export class DeviceController { ); } @ApiBearerAuth() - // @UseGuards(JwtAuthGuard) + @UseGuards(JwtAuthGuard) @Get(':powerClampUuid/power-clamp/status') async getPowerClampInstructionStatus( @Param('powerClampUuid') powerClampUuid: string,