Apply suggestions from code review

Changed parameter naming to match general pattern

Co-authored-by: Christopher Schleiden <[email protected]>
This commit is contained in:
Olfi01
2023-05-25 00:57:30 +02:00
committed by GitHub
co-authored by Christopher Schleiden
parent 41436c6570
commit b912482163
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ export function initConnection(connection: Connection) {
const options = params.initializationOptions as InitializationOptions; const options = params.initializationOptions as InitializationOptions;
if (options.sessionToken) { if (options.sessionToken) {
client = getClient(options.sessionToken, options.userAgent, options.githubApiUrl); client = getClient(options.sessionToken, options.userAgent, options.gitHubApiUrl);
} }
if (options.repos) { if (options.repos) {
+1 -1
View File
@@ -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" * 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 { export interface RepositoryContext {