diff --git a/components/NewAppealBan.tsx b/components/NewAppealBan.tsx index fb69e59..0a7b171 100644 --- a/components/NewAppealBan.tsx +++ b/components/NewAppealBan.tsx @@ -19,7 +19,7 @@ export default function (props: { isOpen: boolean; onClose: () => void }) { const toast = useToast(); async function submitBan() { - const submitResp = await fetch(`/appeals/${userID}/ban`, { + const submitResp = await fetch(`/api/appeals/${userID}/ban`, { body: "{}", headers: { "content-type": "application/json",