diff --git a/test.ts b/test.ts deleted file mode 100644 index e393020..0000000 --- a/test.ts +++ /dev/null @@ -1,21 +0,0 @@ -(async () => { - const resp = await fetch("https://bot.devict.org/invites/slack/request", { - method: "POST", - headers: { - "content-type": "application/json", - Authorization: `Bearer 6e7ec9404c0b59a56b972c5235ccbb8f`, - }, - body: JSON.stringify({ - name: "test", - email: "sethetter+test@gmail.com", - reason: "testing", - }), - }); - - if (!resp.ok) { - throw new Error(`failed: (${resp.status}) ${await resp.text()}`); - } - - console.log(`success!`); - console.log(await resp.text()); -})();