From 27fabe2a7965f3388fc950cb925a1aafea7882b7 Mon Sep 17 00:00:00 2001 From: Ushie Date: Sat, 7 Sep 2024 05:38:59 +0300 Subject: [PATCH] chore: Migrate from deprecated endpoints --- src/data/api/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/api/index.ts b/src/data/api/index.ts index 0bfdd91..c1119ca 100644 --- a/src/data/api/index.ts +++ b/src/data/api/index.ts @@ -32,13 +32,13 @@ async function contributors(): Promise { } async function manager(): Promise { - const json = await get_json('v3/manager/latest'); + const json = await get_json('v3/manager'); return { release: json }; } async function patches(): Promise { - 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