diff --git a/src/git-commit-push-via-github-api.ts b/src/git-commit-push-via-github-api.ts index 43eda6c..30be6eb 100644 --- a/src/git-commit-push-via-github-api.ts +++ b/src/git-commit-push-via-github-api.ts @@ -151,8 +151,7 @@ export const gitCommitPush = (options: GitCommitPushOptions) => { const gitHub = new GitHubApi(); if (token) { gitHub.authenticate({ - type: "oauth", - token: token + auth: token }); } const filledOptions = {