mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 18:56:22 +00:00
add jwt guard
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user