Fixed backend API

This commit is contained in:
Marc 2025-06-05 21:17:46 +00:00
parent 3f4d5282be
commit 8ba5997611
2 changed files with 9 additions and 2 deletions

View File

@ -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]

View File

@ -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)