Fix undefined names and config router imports / task status update
This commit is contained in:
@@ -51,7 +51,7 @@ def _not_found(name: str) -> HTTPException:
|
||||
)
|
||||
|
||||
@router.get(
|
||||
"/",
|
||||
"",
|
||||
response_model=ActionListResponse,
|
||||
summary="List all available actions with active/inactive status",
|
||||
)
|
||||
@@ -179,7 +179,7 @@ async def update_action(
|
||||
|
||||
|
||||
@router.post(
|
||||
"/",
|
||||
"",
|
||||
response_model=ActionConfig,
|
||||
status_code=status.HTTP_201_CREATED,
|
||||
summary="Create a new user-defined action",
|
||||
|
||||
Reference in New Issue
Block a user