Skip to content

Commit

Permalink
[FIX] Stop appending trailing slash to f-API request (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
surchs authored Feb 12, 2025
1 parent 0df1e94 commit 5a58f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function App() {
async function getAttributes(NBResource: string, dataElementURI: string) {
try {
const response: AxiosResponse<RetrievedAttributeOption> = await axios.get(
`${baseAPIURL}${NBResource}/`
`${baseAPIURL}${NBResource}`
);
if (response.data.nodes_response_status === 'fail') {
enqueueSnackbar(`Failed to retrieve ${NBResource} options`, {
Expand Down

0 comments on commit 5a58f98

Please sign in to comment.