From 8ba5997611aced5147a7a28346e49bd6b5853f47 Mon Sep 17 00:00:00 2001 From: Marc Date: Thu, 5 Jun 2025 21:17:46 +0000 Subject: [PATCH] Fixed backend API --- index.js | 6 ++++-- logs/access_log.txt | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index d5fa492..ea5e400 100644 --- a/index.js +++ b/index.js @@ -430,7 +430,7 @@ app.put("/api/teams/:id", async (req, res) => { kontakt_email = $10, teamfarben = $11, beschreibung = $12, - tabellenlink = $13 + tabellenlink = $13, spielelink = $14, scraper_identifier = $15 WHERE id = $16 @@ -604,7 +604,9 @@ app.get("/api/teams/:id", async (req, res) => { kontakt_email, teamfarben, beschreibung, - tabellenlink + tabellenlink, + spielelink, + scraper_identifier FROM teams WHERE id = $1`, [id] diff --git a/logs/access_log.txt b/logs/access_log.txt index 8a1cff6..08ddb84 100644 --- a/logs/access_log.txt +++ b/logs/access_log.txt @@ -40,3 +40,8 @@ [2025-06-05T13:46:09.578Z] IP: 192.168.21.175 (unbekannt) [2025-06-05T13:56:59.667Z] IP: 194.99.110.85 (DE) [2025-06-05T13:58:50.308Z] IP: 192.168.21.175 (unbekannt) +[2025-06-05T14:11:32.485Z] IP: 194.99.110.85 (DE) +[2025-06-05T16:11:17.273Z] IP: 192.168.21.175 (unbekannt) +[2025-06-05T18:43:37.291Z] IP: 192.168.15.235 (unbekannt) +[2025-06-05T21:06:26.841Z] IP: 194.99.110.85 (DE) +[2025-06-05T21:06:31.267Z] IP: 192.168.15.235 (unbekannt)