i also forgot to change the request method

This commit is contained in:
Rana 2025-06-27 12:11:34 +01:00
parent 2a8af5667a
commit 276a6ea313

View file

@ -24,11 +24,6 @@ const eligibilityCmd = async (ctx: any) => {
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, {
method: "POST",
headers: { 'content-type': 'application/json' },
body: JSON.stringify({
"slack_id": userId
}),
redirect: "follow" redirect: "follow"
}).then(res => res.json()) }).then(res => res.json())