From 2342f3b54cc26392c9a0c04121fbf01540c37f35 Mon Sep 17 00:00:00 2001 From: ncqwer <1732031236@qq.com> Date: Mon, 26 Feb 2024 10:50:33 +0800 Subject: [PATCH] fix: typo --- scripts/utils/updatePR.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils/updatePR.js b/scripts/utils/updatePR.js index 7cc0c16d..80ec2e70 100644 --- a/scripts/utils/updatePR.js +++ b/scripts/utils/updatePR.js @@ -10,7 +10,7 @@ module.exports.updatePullRequest = async (content) => { }; console.log('pull number', pullRequestNumber); - const response = await fetch('https://api.github.com/repos/vusion/cloud-ui-materials/pull/${pullRequestNumber}', { + const response = await fetch('https://api.github.com/repos/vusion/cloud-ui-materials/pulls/${pullRequestNumber}', { method: 'PATCH', headers: { 'Content-Type': 'application/json',