jcsumlin / discord-ban-appeal

This is a ReactJS application that I made for any Discord server that wants to allow its users to appeal bans. It uses Oauth2 to prevent spam and Discord webhooks to alert moderators of new appeals. Moderators can approve those appeals directly from the webhook message if they want too! This application can be deployed and customized by anyone even with no prior coding knowledge!
https://wumpus-ban-appeal.netlify.app
MIT License
66 stars 71 forks source link

accepting gives unauthorized page #24

Open docimin opened 2 years ago

docimin commented 2 years ago

Did you follow the steps outline in the README?

Describe the bug Pressing the Accept & Unban button, unbans the user but gives me a "Unauthorized" page (/error)

To Reproduce Steps to reproduce the behavior:

  1. ban user
  2. send ban appeal from banned user
  3. accept ban appeal
  4. bot unbans but site gives unauthorized page

Expected behavior I expected more of a "Success" page

Screenshots Error page Remove ban

Desktop (please complete the following information):

jcsumlin commented 2 years ago

Hey there, thanks for submitting your bug report! Would you mind checking the function logs in Netlify and sharing any additional error information from when this error occurs?

docimin commented 2 years ago

Hey @jcsumlin if you mean in the console, i do not see anything, if somewhere else, could you specify where these logs are located?

jcsumlin commented 2 years ago

https://app.netlify.com/sites/support-server-ban-appeal/functions/unban

replace support-server-ban-appeal with your site's name in netlify.

docimin commented 2 years ago

If i go to that link, it constantly loads for me. image

kot1999 commented 1 year ago

I have same problem. Can you look at this?