diff --git a/index.ts b/index.ts index be544ff..467b783 100644 --- a/index.ts +++ b/index.ts @@ -26,7 +26,7 @@ const eligibilityCmd = async (ctx: any) => { const res = await fetch("https://identity.hackclub.com/api/external/check?slack_id=" + userId, { headers: { 'User-Agent': 'HackClubEligibilityBot/1.0 (ran by Loop / dainfloop)' - } + }, redirect: "follow" }).then(res => res.json())