WIP: adhesion, correcting forge API
This commit is contained in:
parent
d829532501
commit
e0780ac62b
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue