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 authored Aug 2, 2023
1 parent dc5d23e commit 2d3b4de
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 2d3b4de

Please sign in to comment.