From 301872352c97f79bc5f8d4d6b73c05f8dbedd4f9 Mon Sep 17 00:00:00 2001 From: Elizabeth Rapp Date: Thu, 10 Mar 2022 16:07:12 -0600 Subject: [PATCH] Use project instead of projectNumber --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 7844069..6a88e30 100644 --- a/index.js +++ b/index.js @@ -43,10 +43,10 @@ async function process(dataMap, payload) { `Adding label: ${dataMap[item].label} to Issue #${payload.issue.number}` ); - console.log(`Getting ID for project #${dataMap[item].projectNumber}`); + console.log(`Getting ID for project #${dataMap[item].project}`); const projectId = await getBetaProjectId( dataMap[item].org, - dataMap[item].projectNumber + dataMap[item].project ); const issueId = payload.issue.node_id; await addIssueToBetaProject(projectId, issueId);