diff --git a/dist/index.js b/dist/index.js index c534ca6..913461e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -12199,7 +12199,7 @@ const os = __nccwpck_require__(2037) const path = __nccwpck_require__(1017) async function getLatestForReleaseChannel (channel) { - const octokit = github.getOctoKit( + const octokit = github.getOctokit( core.getInput('token') ) diff --git a/src/utils.js b/src/utils.js index c242c9f..9eed829 100644 --- a/src/utils.js +++ b/src/utils.js @@ -4,7 +4,7 @@ const os = require('os') const path = require('path') async function getLatestForReleaseChannel (channel) { - const octokit = github.getOctoKit( + const octokit = github.getOctokit( core.getInput('token') )