WIP: adhesion, correcting forge API
This commit is contained in:
parent
5ed2043f8f
commit
d829532501
|
@ -68,7 +68,7 @@ def gestion_read(req):
|
||||||
return response.json()
|
return response.json()
|
||||||
|
|
||||||
def forgejo_post_issue(owner, repo, title, body, labels):
|
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,
|
"body": issue.description,
|
||||||
"labels": labels,
|
"labels": labels,
|
||||||
"title": issue.title,
|
"title": issue.title,
|
||||||
|
|
Loading…
Reference in New Issue