From 4c700a24699dd2767a7eab18800d4806e46713a7 Mon Sep 17 00:00:00 2001 From: Nathan LeRoy Date: Tue, 3 Dec 2024 19:31:12 -0500 Subject: [PATCH] go back to the fix --- web/src/hooks/queries/useValidation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/hooks/queries/useValidation.ts b/web/src/hooks/queries/useValidation.ts index dabad358..a3fd5113 100644 --- a/web/src/hooks/queries/useValidation.ts +++ b/web/src/hooks/queries/useValidation.ts @@ -35,7 +35,7 @@ const runValidation = async (params: ValidationParams) => { formData.append('schema_file', params.schema_file); } if (schema_registry) { - formData.append('schema_registry', schema_registry); + formData.append('schema_registry', schema_registry || ''); } const { data: result } = await axios.post(`${API_BASE}/eido/validate`, formData, { headers: {