Fix issue creation
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
be9fb68c3d
commit
400a668267
@ -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