From 992f0dec43d4783900d8c1c5562c9d6c256fc31b Mon Sep 17 00:00:00 2001 From: Martin M Date: Mon, 15 Jan 2024 10:17:23 +0100 Subject: [PATCH] Update readyForStable.js --- lib/readyForStable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/readyForStable.js b/lib/readyForStable.js index e7e2567bd..1a9d70423 100644 --- a/lib/readyForStable.js +++ b/lib/readyForStable.js @@ -68,7 +68,7 @@ async function checkIssues(latest, stable, stats, result) { if (res.length) newTitle = `${TITLE} from ${res[0].stable.version} to ${res[0].latest.version}`; if (issue.title === newTitle) { console.log(` ${issue.title} detected - issue still valid`); - const labels = await getGithub(`https://api.github.com/repos/${owner}/ioBroker.${adapter}/issue/${issueId}`); + const labels = await getGithub(`https://api.github.com/repos/${owner}/ioBroker.${adapter}/issues/${issueId}/labels`); for (let i = 0; i < labels.length; i++) { if (labels[i].name === 'stale') { console.log(` issue marked as stale, will try to refresh`);