Skip to content

Commit

Permalink
chore: Migrate from deprecated endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Ushie committed Sep 7, 2024
1 parent 6401aa3 commit 27fabe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ async function contributors(): Promise<ContributorsData> {
}

async function manager(): Promise<ReleaseData> {
const json = await get_json('v3/manager/latest');
const json = await get_json('v3/manager');

return { release: json };
}

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 } = {};

// gets packages and patch count
Expand Down

0 comments on commit 27fabe2

Please sign in to comment.