Fix issue creation

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-09-28 21:35:56 +01:00
parent be9fb68c3d
commit 400a668267

View File

@ -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);