WIP: adhesion, correcting forge API
This commit is contained in:
parent
102afd9938
commit
daa8adf358
|
@ -69,7 +69,7 @@ def gestion_read(req):
|
|||
|
||||
def forgejo_post_issue(owner, repo, title, body, labels):
|
||||
gt = pygitea.API(GITEA_URL, token=gestion_get_secret())
|
||||
import_response: requests.Response = gt.post("/repos/" + owner + "/" + repo + "/issues", data={
|
||||
import_response: requests.Response = gt.post("/repos/" + owner + "/" + repo + "/issues", json={
|
||||
"body": body,
|
||||
"labels": labels,
|
||||
"title": title,
|
||||
|
|
Loading…
Reference in New Issue