🔥 refactor(API): remove unused postValidateNode function

The postValidateNode function is not used in the codebase and has been removed to improve code readability and maintainability.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-22 11:45:55 -03:00
commit 2854633814

View file

@ -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<AxiosResponse<string>> {
return await axios.post(`/api/v1/validate/node/${nodeId}`, { data });
}
/**
* Checks the prompt for the code block by sending it to an API endpoint.
*