mirror of
https://github.com/ShayManor/github-readme-stats.git
synced 2026-12-02 11:53:48 +05:30
feat(launch): cap per-user language fetch at 40 repos, raise enrollment caps, fix cap message
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -262,7 +262,9 @@ export default function App() {
|
||||
return
|
||||
}
|
||||
if (r.status === 429 || status === 'rate_limited') {
|
||||
setFetchError('Enrollment limit reached — try again tomorrow')
|
||||
setFetchError((body as { cap?: string }).cap === 'daily'
|
||||
? 'Enrollment limit reached — try again tomorrow'
|
||||
: 'Enrollment limit reached — try again in an hour')
|
||||
setFetchDone(true)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user