Skip to content

Fix/rate limit and billing - #2994

Merged
howardchung merged 2 commits into
masterfrom
fix/rate-limit-and-billing
Oct 15, 2026
Merged

howardchung merged 2 commits into
masterfrom
fix/rate-limit-and-billing

Conversation

@howardchung

Copy link
Copy Markdown
Member

No description provided.

claude and others added 2 commits October 15, 2026 07:04
The rate limiter runs as app-level middleware before the /api router, where
req.route is still undefined, so `req.route?.path === "/request/:match_id"`
never matched and POST /api/request/:match_id cost 1 instead of the
documented 10. Match on req.method and req.path instead.
@howardchung
howardchung merged commit 223026c into master Oct 15, 2026
2 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.

2 participants