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`);