diff --git a/controle_adhesion/main.py b/controle_adhesion/main.py index a7bd0d9..4fb1beb 100755 --- a/controle_adhesion/main.py +++ b/controle_adhesion/main.py @@ -69,9 +69,9 @@ def gestion_read(req): def forgejo_post_issue(owner, repo, title, body, labels): import_response: requests.Response = FORGE.post("/repos/" + owner + "/" + repo + "/issues", json={ - "body": issue.description, + "body": body, "labels": labels, - "title": issue.title, + "title": title, }) if not(import_response.ok): print("Erreur à l'envoi du ticket {} à {}".format(title, repo))