WIP: adhesion, forgejo API
This commit is contained in:
parent
0e0527645d
commit
909710fa6c
|
@ -73,10 +73,7 @@ def forgejo_post_issue(owner, repo, title, body, labels):
|
|||
"labels":labels,
|
||||
"title":title
|
||||
})
|
||||
if not(import_response.ok):
|
||||
print("Erreur à l'envoi du ticket {} à {}".format(title, repo))
|
||||
raise(Exception)
|
||||
return import_response.ok
|
||||
return import_response
|
||||
|
||||
def gestion_adduser(req):
|
||||
response = requests.put('https://gestion.a-lec.org/api/user/import',
|
||||
|
|
Loading…
Reference in New Issue