Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Commit d6149bf

Browse files
authored
Merge pull request #22850 from atom/fix-octokit-header
Fixes Deprecated Authentication Style-2
2 parents 0419c85 + 66e6718 commit d6149bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/vsts/lib/release-notes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports.generateForVersion = async function(
3737
if (githubToken) {
3838
changelog.setGithubAccessToken(githubToken);
3939
octokit.authenticate({
40-
type: 'oauth',
40+
type: 'token',
4141
token: githubToken
4242
});
4343
}

0 commit comments

Comments
 (0)