newStaffLDB-API #48
@ -26,8 +26,9 @@ async function sendToGitea(body) {
|
|||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: key,
|
Authorization: key,
|
||||||
|
"Content-Type": "application/json",
|
||||||
},
|
},
|
||||||
body: body,
|
body: JSON.stringify(body),
|
||||||
};
|
};
|
||||||
|
|
||||||
const res = await fetch(url, opts);
|
const res = await fetch(url, opts);
|
||||||
|
Loading…
Reference in New Issue
Block a user