Fixed issue with Gitea

This commit is contained in:
Bhavik MacBook PRO 16 2023-04-06 10:11:17 +05:30
parent 7af7c49a6e
commit f05ffb4a9d

View file

@ -49,7 +49,7 @@ async function run() {
var content = comment && comment.body || '';
const url = `${giteaBaseURL}/api/v1/repos/${repoOwner}/${repoName}/pulls/${prNumber}/diff`;
const url = `${githubBaseURL}/api/v1/repos/${repoOwner}/${repoName}/pulls/${prNumber}/diff`;
console.log(`diff url: ${url}`);
var response = await axios.get(url, {
headers: {