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