From 276a6ea313f95853236695a6ba8cb38742072773 Mon Sep 17 00:00:00 2001 From: DaInfLoop Date: Fri, 27 Jun 2025 12:11:34 +0100 Subject: [PATCH] i also forgot to change the request method --- index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/index.ts b/index.ts index 1dbe6fb..71bd1e6 100644 --- a/index.ts +++ b/index.ts @@ -24,11 +24,6 @@ const eligibilityCmd = async (ctx: any) => { const res = await fetch("https://identity.hackclub.com/api/external/check?slack_id" + userId, { - method: "POST", - headers: { 'content-type': 'application/json' }, - body: JSON.stringify({ - "slack_id": userId - }), redirect: "follow" }).then(res => res.json())