mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 14:34:54 +00:00
fixed automation dtos
This commit is contained in:
@ -77,7 +77,7 @@ export class AutomationController {
|
|||||||
}
|
}
|
||||||
@ApiBearerAuth()
|
@ApiBearerAuth()
|
||||||
@UseGuards(JwtAuthGuard)
|
@UseGuards(JwtAuthGuard)
|
||||||
@Put(':automationId')
|
@Put(':automationUuid')
|
||||||
async updateAutomation(
|
async updateAutomation(
|
||||||
@Body() updateAutomationDto: UpdateAutomationDto,
|
@Body() updateAutomationDto: UpdateAutomationDto,
|
||||||
@Param() param: AutomationParamDto,
|
@Param() param: AutomationParamDto,
|
||||||
@ -96,7 +96,7 @@ export class AutomationController {
|
|||||||
|
|
||||||
@ApiBearerAuth()
|
@ApiBearerAuth()
|
||||||
@UseGuards(JwtAuthGuard)
|
@UseGuards(JwtAuthGuard)
|
||||||
@Put('status/:automationId')
|
@Put('status/:automationUuid')
|
||||||
async updateAutomationStatus(
|
async updateAutomationStatus(
|
||||||
@Body() updateAutomationStatusDto: UpdateAutomationStatusDto,
|
@Body() updateAutomationStatusDto: UpdateAutomationStatusDto,
|
||||||
@Param() param: AutomationParamDto,
|
@Param() param: AutomationParamDto,
|
||||||
|
|||||||
Reference in New Issue
Block a user