switch [jitpack] to use latestOk endpoint (#8041)

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
chris48s
2022-06-04 18:59:50 +01:00
committed by GitHub
parent 1f2ba9eba6
commit 667a609b6e

View File

@@ -31,7 +31,7 @@ export default class JitPackVersion extends BaseJsonService {
static defaultBadgeData = { label: 'jitpack' }
async fetch({ vcs, user, repo }) {
const url = `https://jitpack.io/api/builds/com.${vcs}.${user}/${repo}/latest`
const url = `https://jitpack.io/api/builds/com.${vcs}.${user}/${repo}/latestOk`
return this._requestJson({
schema,