diff --git a/index.ts b/index.ts index 71bd1e6..7a08c24 100644 --- a/index.ts +++ b/index.ts @@ -23,7 +23,7 @@ const eligibilityCmd = async (ctx: any) => { matchedBy = "invalid input" - const res = await fetch("https://identity.hackclub.com/api/external/check?slack_id" + userId, { + const res = await fetch("https://identity.hackclub.com/api/external/check?slack_id=" + userId, { redirect: "follow" }).then(res => res.json())