wutzcalc/server/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris a7ec25997f admin: reuse the deduped drink_ids in the bar_drinks insert
argus's review on this PR noted the insert loop recomputed new
Set(drink_ids) instead of reusing uniqueIds from the existence check
above — same result (deterministic dedup), just needless duplication.
Hoisted uniqueIds out of the existence-check block so both call sites
share it.

Verified: tsc --noEmit and server build clean; re-ran the live smoke
test (dup drink_ids dedup to the right set, nonexistent drink_id still
400s).
2026-07-31 11:12:26 +02:00
..
routes admin: reuse the deduped drink_ids in the bar_drinks insert 2026-07-31 11:12:26 +02:00
db.ts scaffold festival drink tracker (pnpm workspace, Fastify + SQLite, Preact tablet UI, admin) 2026-05-19 18:12:01 +02:00
index.ts client: standalone /stats page with charts, off the admin dashboard 2026-07-30 11:40:34 +02:00
problem-details.ts server: generic 500s, fix duplicate/invalid-id error handling 2026-07-30 00:15:09 +02:00
time.ts stats: add hourly views — continuous timeline + hour-of-day pattern 2026-07-30 20:14:45 +02:00