update
This commit is contained in:
@ -47,7 +47,7 @@ export class GitHubHelper {
|
|||||||
options.auth = `${token}`
|
options.auth = `${token}`
|
||||||
}
|
}
|
||||||
if (githubServerHostname !== 'github.com') {
|
if (githubServerHostname !== 'github.com') {
|
||||||
options.baseUrl = `https://${githubServerHostname}/api/v3`
|
options.baseUrl = `https://${githubServerHostname}/api/v1`
|
||||||
} else {
|
} else {
|
||||||
options.baseUrl = 'https://api.github.com'
|
options.baseUrl = 'https://api.github.com'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user