Skip to content

fix(readme): downloads badge showing 'invalid'#4

Merged
anbturki merged 1 commit into
mainfrom
fix/downloads-badge
May 23, 2026
Merged

fix(readme): downloads badge showing 'invalid'#4
anbturki merged 1 commit into
mainfrom
fix/downloads-badge

Conversation

@anbturki

Copy link
Copy Markdown
Owner

Summary

  • shields.io returns invalid for /github/downloads/{repo}/total when the URL also sets label=downloads. Verified by comparing ?label=downloads&color=... (returns invalid) against ?label=installs&color=... and ?color=... (both return the correct count of 20).
  • The endpoint already defaults to the label "downloads", so the param was redundant. Dropping it fixes the badge.

shields.io returns 'invalid' for /github/downloads/.../total when the
URL also sets label=downloads. The endpoint defaults to that label
anyway, so just drop the param.
@anbturki anbturki merged commit 270d6d1 into main May 23, 2026
2 checks passed
@anbturki anbturki deleted the fix/downloads-badge branch May 23, 2026 23:52
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