fix the gitlab plugin

This commit is contained in:
Andreas Zweili 2021-11-09 09:28:51 +01:00
parent 2d8d81268a
commit 14fd8ac43d
1 changed files with 3 additions and 2 deletions

View File

@ -16,10 +16,11 @@ class GitlabAPI:
# Get all issues assigned to the user
url = (self.url
+ '/api/v4/issues?assignee_username='
+ 'issues?assignee_username='
+ assignee
+ '&state=opened')
response = requests.get(url, headers={'PRIVATE-TOKEN': self.token})
print(url)
response = requests.get(url, headers={'PRIVATE-TOKEN': self.token}, verify=False)
issues = response.json()
return issues