From d6a99b56cfd3604b35f4add53939fc66a0c66031 Mon Sep 17 00:00:00 2001 From: regalijan Date: Thu, 19 Oct 2023 16:50:52 -0400 Subject: [PATCH] Are you shitting me --- components/InactivityNoticeCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/InactivityNoticeCard.tsx b/components/InactivityNoticeCard.tsx index 53269c2..0f7163d 100644 --- a/components/InactivityNoticeCard.tsx +++ b/components/InactivityNoticeCard.tsx @@ -19,7 +19,7 @@ export default function(props: InactivityNoticeProps) { const toast = useToast(); async function makeDecision(accepted: boolean) { - const decisionReq = await fetch(`\`/api/inactivity/${props.id}`, { + const decisionReq = await fetch(`/api/inactivity/${props.id}`, { body: JSON.stringify({ accepted }), headers: { "content-type": "application/json"