Merge "Update access token url" into stable/3.x
This commit is contained in:
commit
08154253d7
|
@ -997,8 +997,8 @@ class GithubConnection(BaseConnection):
|
||||||
if ((not expiry) or (not token) or (now >= expiry)):
|
if ((not expiry) or (not token) or (now >= expiry)):
|
||||||
headers = self._get_app_auth_headers()
|
headers = self._get_app_auth_headers()
|
||||||
|
|
||||||
url = "%s/installations/%s/access_tokens" % (self.base_url,
|
url = "%s/app/installations/%s/access_tokens" % (
|
||||||
installation_id)
|
self.base_url, installation_id)
|
||||||
|
|
||||||
response = requests.post(url, headers=headers, json=None)
|
response = requests.post(url, headers=headers, json=None)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
|
|
Loading…
Reference in New Issue