diff --git a/src/frontend/src/controllers/API/index.ts b/src/frontend/src/controllers/API/index.ts index 2dca61a00..2651a0058 100644 --- a/src/frontend/src/controllers/API/index.ts +++ b/src/frontend/src/controllers/API/index.ts @@ -49,13 +49,6 @@ export async function postValidateCode( return await axios.post("/api/v1/validate/code", { code }); } -export async function postValidateNode( - nodeId: string, - data: any -): Promise> { - return await axios.post(`/api/v1/validate/node/${nodeId}`, { data }); -} - /** * Checks the prompt for the code block by sending it to an API endpoint. *