From c9c38f07ad515969b029448535254f54a78f17c9 Mon Sep 17 00:00:00 2001 From: Tim Aldinger Date: Thu, 15 Oct 2026 11:38:00 +0200 Subject: [PATCH] =?UTF-8?q?sharedAPI=20gel=C3=B6scht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/js/shared/sharedAPI.js | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 src/main/resources/static/js/shared/sharedAPI.js 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" } - }); -}