The GET / route has no auth middleware, so user_id was always empty. Add UserIDFromCookie helper that opportunistically reads the sb_token cookie and extracts user_id without requiring auth. Now user preference correctly overrides the global default. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
11 KiB
11 KiB