Fix bad url for new appeal ban

This commit is contained in:
regalijan 2023-12-31 11:38:21 -05:00 committed by GitHub Enterprise
parent 6a573f7045
commit e2669ccc78

View File

@ -19,7 +19,7 @@ export default function (props: { isOpen: boolean; onClose: () => void }) {
const toast = useToast(); const toast = useToast();
async function submitBan() { async function submitBan() {
const submitResp = await fetch(`/appeals/${userID}/ban`, { const submitResp = await fetch(`/api/appeals/${userID}/ban`, {
body: "{}", body: "{}",
headers: { headers: {
"content-type": "application/json", "content-type": "application/json",