Skip to content

Commit

Permalink
Fix admin key in moderation bot
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeName-Anti committed Aug 13, 2024
1 parent 98cc869 commit 39338f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/misc/discord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
});

Expand All @@ -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
}
});

Expand Down

0 comments on commit 39338f7

Please sign in to comment.