first stuff for access tokens
This commit is contained in:
parent
b26a3548fc
commit
adaf732809
9 changed files with 336 additions and 19 deletions
|
@ -147,4 +147,4 @@ class GitlabHoster(Hoster):
|
|||
response = requests.get(self.base_url + 'api/v3/user?private_token=' + access_token)
|
||||
if response.status_code != 200:
|
||||
return None
|
||||
return str(response.json()['id'])
|
||||
return self.base_url+'user/'+str(response.json()['id'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue