Fixed GitHub release downloads, run [GithubDownloads] (#3256)
* fixed github release downloads * npm run prettier code push. * master package-lock.json file
This commit is contained in:
committed by
Caleb Cartwright
parent
7f24e93671
commit
48e454c63d
@@ -155,7 +155,10 @@ module.exports = class GithubDownloads extends LegacyService {
|
||||
if (releasePath) {
|
||||
apiUrl = `${apiUrl}/${releasePath}`
|
||||
}
|
||||
} else {
|
||||
apiUrl = `${apiUrl}?per_page=500`
|
||||
}
|
||||
|
||||
const badgeData = getBadgeData('downloads', data)
|
||||
if (badgeData.template === 'social') {
|
||||
badgeData.logo = getLogo('github', data)
|
||||
|
||||
Reference in New Issue
Block a user