Skip to content

Commit

Permalink
leftover refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 3, 2023
1 parent 6f9957d commit f10676c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export async function syncGithubRelease(
body: release.body,
};

if (!config.token.github) {
if (!config.tokens.github) {
return {
status: "manual",
url: githubNewReleaseURL(config, release),
Expand Down Expand Up @@ -128,8 +128,8 @@ async function githubFetch(
: `https://${config.repo.domain}/api/v3`,
headers: {
...opts.headers,
authorization: config.token.github
? `Token ${config.token.github}`
authorization: config.tokens.github
? `Token ${config.tokens.github}`
: undefined,
},
});
Expand Down

0 comments on commit f10676c

Please sign in to comment.