Are you shitting me
This commit is contained in:
parent
7f9feec8d8
commit
d6a99b56cf
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user