From 52cff6ceb3832f21ac7bc04c4e48561b8595f39e Mon Sep 17 00:00:00 2001 From: Caleb Cartwright Date: Mon, 17 May 2021 03:18:50 -0500 Subject: [PATCH] fix: correct GitHubSponsors example (#6512) --- services/github/github-sponsors.service.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/services/github/github-sponsors.service.js b/services/github/github-sponsors.service.js index 18336f5c0b..6a465bdceb 100644 --- a/services/github/github-sponsors.service.js +++ b/services/github/github-sponsors.service.js @@ -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 }) {