Are you shitting me

This commit is contained in:
regalijan 2023-10-19 16:50:52 -04:00
parent 7f9feec8d8
commit d6a99b56cf
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -19,7 +19,7 @@ export default function(props: InactivityNoticeProps) {
const toast = useToast(); const toast = useToast();
async function makeDecision(accepted: boolean) { 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 }), body: JSON.stringify({ accepted }),
headers: { headers: {
"content-type": "application/json" "content-type": "application/json"