From d829532501eceb356a9caf4c54e408c314d65de4 Mon Sep 17 00:00:00 2001 From: "Adrien Bourmault (neox)" Date: Fri, 3 Nov 2023 18:11:18 +0100 Subject: [PATCH] WIP: adhesion, correcting forge API --- controle_adhesion/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,