Fixed backend API
This commit is contained in:
parent
3f4d5282be
commit
8ba5997611
6
index.js
6
index.js
@ -430,7 +430,7 @@ app.put("/api/teams/:id", async (req, res) => {
|
|||||||
kontakt_email = $10,
|
kontakt_email = $10,
|
||||||
teamfarben = $11,
|
teamfarben = $11,
|
||||||
beschreibung = $12,
|
beschreibung = $12,
|
||||||
tabellenlink = $13
|
tabellenlink = $13,
|
||||||
spielelink = $14,
|
spielelink = $14,
|
||||||
scraper_identifier = $15
|
scraper_identifier = $15
|
||||||
WHERE id = $16
|
WHERE id = $16
|
||||||
@ -604,7 +604,9 @@ app.get("/api/teams/:id", async (req, res) => {
|
|||||||
kontakt_email,
|
kontakt_email,
|
||||||
teamfarben,
|
teamfarben,
|
||||||
beschreibung,
|
beschreibung,
|
||||||
tabellenlink
|
tabellenlink,
|
||||||
|
spielelink,
|
||||||
|
scraper_identifier
|
||||||
FROM teams
|
FROM teams
|
||||||
WHERE id = $1`,
|
WHERE id = $1`,
|
||||||
[id]
|
[id]
|
||||||
|
|||||||
@ -40,3 +40,8 @@
|
|||||||
[2025-06-05T13:46:09.578Z] IP: 192.168.21.175 (unbekannt)
|
[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:56:59.667Z] IP: 194.99.110.85 (DE)
|
||||||
[2025-06-05T13:58:50.308Z] IP: 192.168.21.175 (unbekannt)
|
[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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user