Skip to content

Commit

Permalink
fix: removed logger
Browse files Browse the repository at this point in the history
  • Loading branch information
sshivaditya committed Sep 28, 2024
1 parent d4ce273 commit ff7c83a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/handlers/issue-matching.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,8 @@ export async function issueMatching(context: Context) {
const similarIssues = await supabase.issue.findSimilarIssues(issueContent, context.config.jobMatchingThreshold, issue.node_id);
if (similarIssues && similarIssues.length > 0) {
// Find the most similar issue and the users who completed the task
console.log(similarIssues);
similarIssues.sort((a, b) => b.similarity - a.similarity);
const fetchPromises = similarIssues.map(async (issue) => {
logger.info("Issue ID: " + issue.issue_id);
logger.info("Before query");
const issueObject: IssueGraphqlResponse = await context.octokit.graphql(
`query ($issueNodeId: ID!) {
node(id: $issueNodeId) {
Expand Down

0 comments on commit ff7c83a

Please sign in to comment.