Skip to content

Commit

Permalink
Use API URL instead of Server URL
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmgross committed Nov 16, 2023
1 parent 4cc0320 commit 85717e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35510,7 +35510,7 @@ async function main() {
previews: previews ? previews.split(',') : undefined,
retry: retryOpts,
request: requestOpts,
baseUrl: baseUrl || lib_github.context.serverUrl
baseUrl: baseUrl || lib_github.context.apiUrl
};
const github = (0,lib_github.getOctokit)(token, opts, plugin_retry_dist_node.retry, dist_node.requestLog);
const script = core.getInput('script', { required: true });
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function main(): Promise<void> {
previews: previews ? previews.split(',') : undefined,
retry: retryOpts,
request: requestOpts,
baseUrl: baseUrl || context.serverUrl
baseUrl: baseUrl || context.apiUrl
}

const github = getOctokit(token, opts, retry, requestLog)
Expand Down

0 comments on commit 85717e4

Please sign in to comment.