fix(aio): remove unnecessary repoSlug
parameter from GithubApi
This commit is contained in:

committed by
Chuck Jazdzewski

parent
951e653b0c
commit
060d02eb82
@ -18,8 +18,7 @@ export class GithubApi {
|
||||
protected requestHeaders: {[key: string]: string};
|
||||
|
||||
// Constructor
|
||||
constructor(protected repoSlug: string, githubToken: string) {
|
||||
assertNotMissingOrEmpty('repoSlug', repoSlug);
|
||||
constructor(githubToken: string) {
|
||||
assertNotMissingOrEmpty('githubToken', githubToken);
|
||||
|
||||
this.requestHeaders = {
|
||||
|
Reference in New Issue
Block a user