You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: consolidate bouncer validity parsing into single block
Address review feedback from Gemini and Copilot:
- Consolidate the validity check into one if/else-if/else block
- Check "revoked" first (new CrowdSec >= v1.7.x), fall back to "valid" (old versions)
- Remove redundant double-parsing of both fields
- Clearer control flow, no duplicate JSON lookups
Fixes#47
0 commit comments