From b0408d9ed64a1891886fe5f9ca5b25e9bdcbb1ce Mon Sep 17 00:00:00 2001 From: Mason Egger Date: Mon, 16 Jun 2025 10:53:40 -0500 Subject: [PATCH] Update API to use proper query Looks like you changed the query handler in the Workflow but didn't update the API. Minor patch. --- api/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/main.py b/api/main.py index 247bcf4..0673db1 100644 --- a/api/main.py +++ b/api/main.py @@ -65,7 +65,7 @@ async def get_tool_data(): return {} # Query the workflow - tool_data = await handle.query("get_tool_data") + tool_data = await handle.query("get_latest_tool_data") return tool_data except TemporalError as e: # Workflow not found; return an empty response