Method was missing from post request
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
51baee45a3
commit
a87f203782
@ -23,6 +23,7 @@ async function sendToGitea(body) {
|
|||||||
let key = process.env.OWL_GIT_ISSUEBOT;
|
let key = process.env.OWL_GIT_ISSUEBOT;
|
||||||
let url = process.env.OWL_GIT_APIENDPOINT;
|
let url = process.env.OWL_GIT_APIENDPOINT;
|
||||||
let opts = {
|
let opts = {
|
||||||
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: key,
|
Authorization: key,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user