2 Commits
Author SHA1 Message Date
john-okeefe ee7aa9921b fix(adminGames): apply Steam URL normalization and scraper guard to create/update
Release / build-and-push (push) Successful in 1m1s
Admin create had no URL handling at all (and crashed on missing steamId
via .length), and admin update passed req.body straight to the scraper.
Reuse normalizeSteamId in both, 400 on unrecognized input, and reject
failed scrapes (non-object / missing title+frontImage) before
Game.create/findOneAndUpdate so failures report as 'Steam lookup failed'
instead of schema validation noise.
2026-09-06 10:11:07 -04:00
john-okeefe d575a4efc5 moved api from monorepo 2024-09-12 15:48:27 -04:00