Skip to content
Snippets Groups Projects
Commit f0e53028 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: set endpoint for GITHUB_COM_TOKEN

parent 3ac7f792
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,7 @@ function getConfig(env) { ...@@ -41,6 +41,7 @@ function getConfig(env) {
if (env.GITHUB_COM_TOKEN) { if (env.GITHUB_COM_TOKEN) {
config.endpoints.push({ config.endpoints.push({
endpoint: 'https://api.github.com/',
platform: 'github', platform: 'github',
token: env.GITHUB_COM_TOKEN, token: env.GITHUB_COM_TOKEN,
}); });
......
...@@ -38,6 +38,7 @@ Object { ...@@ -38,6 +38,7 @@ Object {
"endpoint": "a ghe endpoint", "endpoint": "a ghe endpoint",
"endpoints": Array [ "endpoints": Array [
Object { Object {
"endpoint": "https://api.github.com/",
"platform": "github", "platform": "github",
"token": "a github.com token", "token": "a github.com token",
}, },
...@@ -56,6 +57,7 @@ Object { ...@@ -56,6 +57,7 @@ Object {
"endpoint": "a ghe endpoint", "endpoint": "a ghe endpoint",
"endpoints": Array [ "endpoints": Array [
Object { Object {
"endpoint": "https://api.github.com/",
"platform": "github", "platform": "github",
"token": "a github.com token", "token": "a github.com token",
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment