fix: correct GitHubSponsors example (#6512)

This commit is contained in:
Caleb Cartwright
2021-05-17 03:18:50 -05:00
committed by GitHub
parent a51ef2996a
commit 52cff6ceb3

View File

@@ -25,18 +25,13 @@ module.exports = class GithubSponsors extends GithubAuthV4Service {
{
title: 'GitHub Sponsors',
namedParams: { user: 'Homebrew' },
queryParams: { style: 'social' },
staticPreview: {
message: '217',
style: 'social',
},
staticPreview: this.render({ count: 217 }),
documentation,
},
]
static defaultBadgeData = {
label: 'sponsors',
namedLogo: 'github',
}
static render({ count }) {