mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 18:07:55 +00:00
Merge branch 'dev' of https://github.com/SyncrowIOT/backend into feature/space-management
This commit is contained in:
@@ -173,4 +173,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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user