diff --git a/src/misc/discord.ts b/src/misc/discord.ts index 5c35630..c0eea08 100644 --- a/src/misc/discord.ts +++ b/src/misc/discord.ts @@ -59,7 +59,7 @@ function startBot() { const response = await fetch(`${API_BASE_URL}/api/verify?handle=${args[1]}`, { method: 'POST', headers: { - Authorization: process.env.ADMIN_KEY! + Authorization: ADMIN_KEY } }); @@ -79,7 +79,7 @@ function startBot() { const response = await fetch(`${API_BASE_URL}/api/unban?handle=${args[1]}`, { method: 'POST', headers: { - Authorization: process.env.ADMIN_KEY! + Authorization: ADMIN_KEY } });