finished get power clamp status

This commit is contained in:
faris Aljohari
2024-10-17 00:41:02 -05:00
parent a157444897
commit f0666fab82
4 changed files with 64 additions and 0 deletions

View File

@ -191,4 +191,14 @@ export class DeviceController {
batchFactoryResetDevicesDto,
);
}
@ApiBearerAuth()
// @UseGuards(JwtAuthGuard)
@Get(':powerClampUuid/power-clamp/status')
async getPowerClampInstructionStatus(
@Param('powerClampUuid') powerClampUuid: string,
) {
return await this.deviceService.getPowerClampInstructionStatus(
powerClampUuid,
);
}
}