Skip to content

Commit

Permalink
Revert ui query
Browse files Browse the repository at this point in the history
  • Loading branch information
tschumpr committed Dec 19, 2024
1 parent abab731 commit 71681f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/src/api/borehole.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const getBoreholeById = async (id: number) => await fetchApiV2(`borehole/

export const exportJsonBoreholes = async (ids: number[] | GridRowSelectionModel) => {
const idsQuery = ids.map(id => `ids=${id}`).join("&");
return await fetchApiV2(`export/geojson?${idsQuery}`, "GET");
return await fetchApiV2(`borehole/json?${idsQuery}`, "GET");
};

export const updateBorehole = async (borehole: BoreholeV2) => {
Expand Down

0 comments on commit 71681f0

Please sign in to comment.