Skip to content

feat(stats): verify case-insentive to null nickname - #32

Merged
m9tzin merged 1 commit into
mainfrom
dev
Apr 24, 2026
Merged

feat(stats): verify case-insentive to null nickname#32
m9tzin merged 1 commit into
mainfrom
dev

Conversation

@m9tzin

@m9tzin m9tzin commented Apr 24, 2026

Copy link
Copy Markdown
Owner

src/routes/stats.js: Tratamos null e undefined (com trim e comparação case-insensitive) como “nickname ausente”, e devolvemos a mesma mensagem de 200 e texto: Indique o nickname FACEIT (ex.: !stats s1mple).
README.md: Documentação do endpoint GET /stats atualizada para o comportamento do Nightbot e com exemplo de curl para ?player=null (mesmo aviso do caso sem player).

@coderabbitai

coderabbitai Bot commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@m9tzin has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 38 minutes and 30 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 38 minutes and 30 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 35b12505-f5ee-4840-a9d6-1f22a30db0a1

📥 Commits

Reviewing files that changed from the base of the PR and between 221c5d5 and 2e9f72b.

📒 Files selected for processing (2)
  • README.md
  • src/routes/stats.js
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@m9tzin
m9tzin merged commit 754551d into main Apr 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant