fix(automation): change list route from / to empty string to match without trailing slash
This commit is contained in:
@@ -98,7 +98,7 @@ def _agent_version_to_response(v: AgentVersion) -> AgentVersionResponse:
|
||||
|
||||
|
||||
@router.get(
|
||||
"/",
|
||||
"",
|
||||
dependencies=[Depends(require_permission("agents:read"))],
|
||||
response_model=AgentDefinitionListResponse,
|
||||
)
|
||||
|
||||
@@ -98,7 +98,7 @@ def _version_to_response(v: AutomationVersion) -> AutomationVersionResponse:
|
||||
|
||||
|
||||
@router.get(
|
||||
"/",
|
||||
"",
|
||||
dependencies=[Depends(require_permission("automation:read"))],
|
||||
response_model=AutomationDefinitionListResponse,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user