diff --git a/lib/followers/index.ts b/lib/followers/index.ts index 1c43921..c4eae5c 100644 --- a/lib/followers/index.ts +++ b/lib/followers/index.ts @@ -74,7 +74,7 @@ export async function getFollowerCounts(): Promise { const followerLabels: Record = { youtube: "ผู้ติดตาม", - roblox: "ผู้ติดตาม", + roblox: "เพื่อน", discord: "สมาชิก", tiktok: "ผู้ติดตาม", }; diff --git a/lib/followers/roblox.ts b/lib/followers/roblox.ts index f17fed8..14ba3c0 100644 --- a/lib/followers/roblox.ts +++ b/lib/followers/roblox.ts @@ -4,7 +4,7 @@ export async function getRobloxFollowerCount(): Promise { try { const res = await fetch( - `https://friends.roblox.com/v1/users/${encodeURIComponent(userId)}/followers/count`, + `https://friends.roblox.com/v1/users/${encodeURIComponent(userId)}/friends/count`, { next: { revalidate: 3600 }, signal: AbortSignal.timeout(5000) } ); if (!res.ok) return null;