khalil 1939c36dfb
CI/CD Pipeline / test (push) Successful in 1m38s
CI/CD Pipeline / build-push-deploy (push) Successful in 23s
fix(api): move FILTER onto the aggregate in /api/stats
PostgreSQL only accepts FILTER on an aggregate call. It was attached to
ROUND, so the whole query was rejected and /api/stats answered 500. The
showcase reads that endpoint for its live creature stats, which meant the
homepage displayed five dashes instead of numbers.

FILTER now sits on AVG, with the rounding applied to the result.
2026-08-11 10:28:23 +00:00
2026-07-04 11:44:24 +00:00
S
Description
No description provided
Readme 106 KiB
Languages
JavaScript 63.7%
CSS 27.7%
HTML 7.4%
Dockerfile 1.2%