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