fix(nodes): fix typo in list_sessions handler

This commit is contained in:
psychedelicious 2023-04-04 00:18:11 +10:00
parent 5cd513ee63
commit ecdfa136a0

View File

@ -51,7 +51,7 @@ async def list_sessions(
query: str = Query(default="", description="The query string to search for"),
) -> PaginatedResults[GraphExecutionState]:
"""Gets a list of sessions, optionally searching"""
if filter == "":
if query == "":
result = ApiDependencies.invoker.services.graph_execution_manager.list(
page, per_page
)