mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 15:17:41 +00:00
updated the endpoint for checking automation status
This commit is contained in:
@ -6,6 +6,7 @@ import {
|
||||
Get,
|
||||
HttpStatus,
|
||||
Param,
|
||||
Patch,
|
||||
Post,
|
||||
Put,
|
||||
UseGuards,
|
||||
@ -114,7 +115,7 @@ export class AutomationController {
|
||||
@ApiBearerAuth()
|
||||
@UseGuards(PermissionsGuard)
|
||||
@Permissions('AUTOMATION_CONTROL')
|
||||
@Put('status/:automationUuid')
|
||||
@Patch(':automationUuid')
|
||||
@ApiOperation({
|
||||
summary:
|
||||
ControllerRoute.AUTOMATION.ACTIONS.UPDATE_AUTOMATION_STATUS_SUMMARY,
|
||||
|
Reference in New Issue
Block a user