Apply suggestions from code review
Changed parameter naming to match general pattern Co-authored-by: Christopher Schleiden <cschleiden@live.de>
This commit is contained in:
co-authored by
Christopher Schleiden
parent
41436c6570
commit
b912482163
@@ -51,7 +51,7 @@ export function initConnection(connection: Connection) {
|
||||
const options = params.initializationOptions as InitializationOptions;
|
||||
|
||||
if (options.sessionToken) {
|
||||
client = getClient(options.sessionToken, options.userAgent, options.githubApiUrl);
|
||||
client = getClient(options.sessionToken, options.userAgent, options.gitHubApiUrl);
|
||||
}
|
||||
|
||||
if (options.repos) {
|
||||
|
||||
@@ -27,7 +27,7 @@ export interface InitializationOptions {
|
||||
/**
|
||||
* If a GitHub Enterprise Server should be used, the URL of the API endpoint, eg "https://ghe.my-company.com/api/v3"
|
||||
*/
|
||||
githubApiUrl?: string;
|
||||
gitHubApiUrl?: string;
|
||||
}
|
||||
|
||||
export interface RepositoryContext {
|
||||
|
||||
Reference in New Issue
Block a user