Method was missing from post request

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-09-28 20:35:22 +01:00
parent 51baee45a3
commit a87f203782
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ async function sendToGitea(body) {
let key = process.env.OWL_GIT_ISSUEBOT;
let url = process.env.OWL_GIT_APIENDPOINT;
let opts = {
method: "POST",
headers: {
Authorization: key,
},