diff --git a/packages/github/src/github.ts b/packages/github/src/github.ts index 5c85e406..35b5f624 100644 --- a/packages/github/src/github.ts +++ b/packages/github/src/github.ts @@ -14,8 +14,8 @@ export class GitHub extends Octokit { variables?: Variables ) => Promise - constructor(token: string) { - super({auth: `token ${token}`}) + constructor(token: string, opts: Omit = {}) { + super({...opts, auth: `token ${token}`}) this.graphql = defaults({ headers: {authorization: `token ${token}`} })