diff --git a/github-actions/trigger-schedule/add-update-label-weekly/add-label.js b/github-actions/trigger-schedule/add-update-label-weekly/add-label.js index 35cf65c188..78630b1466 100644 --- a/github-actions/trigger-schedule/add-update-label-weekly/add-label.js +++ b/github-actions/trigger-schedule/add-update-label-weekly/add-label.js @@ -259,7 +259,7 @@ async function getAssignees(issueNum) { issue_number: issueNum, }); const assigneesData = results.data.assignees; - assigneesLogins = filterForAssigneesLogins(assigneesData); + const assigneesLogins = filterForAssigneesLogins(assigneesData); return assigneesLogins } catch (err) { console.error(`Function failed to get assignees. Please refer to the error below: \n `, err);