diff --git a/controle_adhesion/main.py b/controle_adhesion/main.py index 40f59be..c95b9ae 100755 --- a/controle_adhesion/main.py +++ b/controle_adhesion/main.py @@ -69,7 +69,7 @@ def gestion_read(req): def forgejo_post_issue(owner, repo, title, body, labels): gt = pygitea.API(GITEA_URL, token=gestion_get_secret()) - import_response: requests.Response = gt.post("/repos/" + owner + "/" + repo + "/issues", data={ + import_response: requests.Response = gt.post("/repos/" + owner + "/" + repo + "/issues", json={ "body": body, "labels": labels, "title": title,