From 37f02799ce4b217ed15767df8e364404099d9ab4 Mon Sep 17 00:00:00 2001 From: El De-dog-lo <3859395+fubuloubu@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:09:25 -0400 Subject: [PATCH] fix: wrong endpoint --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 0d47959..4da8aae 100644 --- a/main.py +++ b/main.py @@ -139,7 +139,7 @@ async def get_task_status(task_id: str) -> TaskStatus: @app.get("/exceptions/{task_id}") -async def get_task_exceptions(task_id: str) -> dict: +async def get_task_exceptions(task_id: str) -> list[str]: """ Fetch the exception information for a particular compilation task """ @@ -156,7 +156,7 @@ async def get_task_exceptions(task_id: str) -> dict: # NOTE: `response_model=None` so that we only use our own validation # from ethpm_types. @app.get("/artifacts/{task_id}", response_model=None) -async def get_compiled_artifact(task_id: str)-> list[str]: +async def get_compiled_artifact(task_id: str) -> dict: """ Fetch the compiled artifact data in ethPM v3 format for a particular task """