mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
chore: Migrate from deprecated endpoints
This commit is contained in:
parent
6401aa381e
commit
27fabe2a79
@ -32,13 +32,13 @@ async function contributors(): Promise<ContributorsData> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function manager(): Promise<ReleaseData> {
|
async function manager(): Promise<ReleaseData> {
|
||||||
const json = await get_json('v3/manager/latest');
|
const json = await get_json('v3/manager');
|
||||||
|
|
||||||
return { release: json };
|
return { release: json };
|
||||||
}
|
}
|
||||||
|
|
||||||
async function patches(): Promise<PatchesData> {
|
async function patches(): Promise<PatchesData> {
|
||||||
const json = await get_json('v3/patches/latest/list');
|
const json = await get_json('v3/patches/list');
|
||||||
const packagesWithCount: { [key: string]: number } = {};
|
const packagesWithCount: { [key: string]: number } = {};
|
||||||
|
|
||||||
// gets packages and patch count
|
// gets packages and patch count
|
||||||
|
Loading…
x
Reference in New Issue
Block a user