Skip to content

Commit

Permalink
Update send-metrics.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunridge authored Dec 18, 2023
1 parent f9e61fd commit 7946de3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roiScript/send-metrics.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const fetchCommentsJSON = async (commentsUrlStr) => {
}

const commentsArr = await fetchCommentsJSON(commentsUrl)
console.log('commentsArr', commentsArr)
// console.log('commentsArr', commentsArr)
const targetComment = commentsArr?.find(comment => comment.body.startsWith("Time from assignment to PR for"))
console.log('targetComment: ', targetComment);
console.log('targetComment.body: ', targetComment.body);

const databaseId = NOTION_DATABASE_ID

Expand Down

0 comments on commit 7946de3

Please sign in to comment.