From 5a58f98f811775e4355626130b35dcadb1b28956 Mon Sep 17 00:00:00 2001 From: Sebastian Urchs Date: Wed, 12 Feb 2025 18:32:04 -0500 Subject: [PATCH] [FIX] Stop appending trailing slash to f-API request (#484) --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 778daaac..6bf8b489 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -113,7 +113,7 @@ function App() { async function getAttributes(NBResource: string, dataElementURI: string) { try { const response: AxiosResponse = await axios.get( - `${baseAPIURL}${NBResource}/` + `${baseAPIURL}${NBResource}` ); if (response.data.nodes_response_status === 'fail') { enqueueSnackbar(`Failed to retrieve ${NBResource} options`, {