Skip to content

Commit

Permalink
CI: Fix theme preview workflow (Attempt 2) (anuraghazra#3034)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty541 committed Dec 22, 2023
1 parent 7d8bd47 commit ab12ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/preview-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export const run = async () => {

// Retrieve the PR diff and preview-theme comment.
debug("Retrieve PR diff...");
const res = await OCTOKIT.pulls.get({
const res = await OCTOKIT.rest.pulls.get({
owner: OWNER,
repo: REPO,
pull_number: PULL_REQUEST_ID,
Expand Down

0 comments on commit ab12ad1

Please sign in to comment.