fixed automation dtos

This commit is contained in:
hannathkadher
2024-11-04 22:10:05 +04:00
parent 0d000e4b60
commit aad794b2cd

View File

@ -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,