Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Nov 7, 2024
1 parent 4f3f91d commit feafc9a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
9 changes: 0 additions & 9 deletions src/client/src/api-lib/actions/borehole.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,6 @@ export function unlockBorehole(id) {
});
}

export function patchBorehole(id, field, value) {
return fetch("/borehole/edit", {
action: "PATCH",
id: id,
field: field,
value: value,
});
}

export function patchBoreholes(ids, fields) {
return fetch("/borehole/edit", {
action: "MULTIPATCH",
Expand Down
2 changes: 0 additions & 2 deletions src/client/src/api-lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
loadBoreholes,
loadEditingBoreholes,
lockBorehole,
patchBorehole,
patchBoreholes,
unlockBorehole,
updateBorehole,
Expand Down Expand Up @@ -51,7 +50,6 @@ export {
unlockBorehole,
deleteBorehole,
deleteBoreholes,
patchBorehole,
patchBoreholes,
getGeojson,
loadWorkflows,
Expand Down

0 comments on commit feafc9a

Please sign in to comment.