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
1 changed files with 2 additions and 1 deletions

View File

@ -26,8 +26,9 @@ async function sendToGitea(body) {
method: "POST",
headers: {
Authorization: key,
"Content-Type": "application/json",
},
body: body,
body: JSON.stringify(body),
};
const res = await fetch(url, opts);