CI: Fix theme preview workflow (Attempt 2) (#3034)

This commit is contained in:
Alexandr Garbuzov 2023-08-02 09:59:04 +03:00 committed by GitHub
parent dc5d23e187
commit 2d3b4de24c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,