WIP: adhesion, correcting forge API

This commit is contained in:
Adrien Bourmault 2023-11-03 18:11:18 +01:00
parent 5ed2043f8f
commit d829532501
Signed by: neox
GPG Key ID: 2974E1D5F25DFCC8
1 changed files with 1 additions and 1 deletions

View File

@ -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,