Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix bad url for new appeal ban
  • Loading branch information
regalijan authored and GitHub Enterprise committed Dec 31, 2023
1 parent 6a573f7 commit e2669cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/NewAppealBan.tsx
Expand Up @@ -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",
Expand Down

0 comments on commit e2669cc

Please sign in to comment.