diff --git a/controle_adhesion/main.py b/controle_adhesion/main.py index 09b6738..a7bd0d9 100755 --- a/controle_adhesion/main.py +++ b/controle_adhesion/main.py @@ -68,7 +68,7 @@ def gestion_read(req): return response.json() def forgejo_post_issue(owner, repo, title, body, labels): - import_response: requests.Response = gitea_api.post("/repos/" + owner + "/" + repo + "/issues", json={ + import_response: requests.Response = FORGE.post("/repos/" + owner + "/" + repo + "/issues", json={ "body": issue.description, "labels": labels, "title": issue.title,