fix the gitlab plugin
This commit is contained in:
parent
2d8d81268a
commit
14fd8ac43d
|
@ -16,10 +16,11 @@ class GitlabAPI:
|
||||||
|
|
||||||
# Get all issues assigned to the user
|
# Get all issues assigned to the user
|
||||||
url = (self.url
|
url = (self.url
|
||||||
+ '/api/v4/issues?assignee_username='
|
+ 'issues?assignee_username='
|
||||||
+ assignee
|
+ assignee
|
||||||
+ '&state=opened')
|
+ '&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()
|
issues = response.json()
|
||||||
|
|
||||||
return issues
|
return issues
|
||||||
|
|
Loading…
Reference in New Issue