diff --git a/src/main/resources/static/js/shared/sharedAPI.js b/src/main/resources/static/js/shared/sharedAPI.js deleted file mode 100644 index eb5a750..0000000 --- a/src/main/resources/static/js/shared/sharedAPI.js +++ /dev/null @@ -1,8 +0,0 @@ -export async function editElement(apiPath, toChange) { - return await fetch(apiPath, - { - method: "PATCH", - body: JSON.stringify(toChange), - headers: { "Content-Type": "application/json" } - }); -}