Skip to content

Commit

Permalink
Use project instead of projectNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
Elizabeth Rapp committed Mar 10, 2022
1 parent 34d47f2 commit 3018723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3018723

Please # to comment.