feat(houseofrc): fetch club events, classes and entries with transponders via the timing API (1.81.0)

This commit is contained in:
larssand committed 2026-11-08 15:53:57 +01:00
1 parent 9c1f5713e6
commit b0f2b92c04
15 files changed
+247 -149

No files matched your search

+1 -1
View File
@@ -493,7 +493,7 @@ app.post("/api/houseofrc/events", async (req, res) => {
res.status(result.ok ? 200 : 502).json(result);
});
app.post("/api/houseofrc/entries", async (req, res) => {
const result = await houseOfRc.getEventEntries(req.body?.eventId, req.body?.eventclassId);
const result = await houseOfRc.getEventEntries(req.body?.eventId);
res.status(result.ok ? 200 : result.status === 400 ? 400 : 502).json(result);
});