Skip to content

Commit

Permalink
remove console.log mergedNewAssignments from updateAssignmentsOfCours…
Browse files Browse the repository at this point in the history
…e; update config to double spacce for second header
  • Loading branch information
NewBieCoderXD committed Sep 26, 2024
1 parent 77c51f6 commit 8c4881d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const NEW_ASSIGNMENTS_MESSAGE = '## New Assignments!!'
export const NEW_ASSIGNMENTS_MESSAGE_SIZE = [...NEW_ASSIGNMENTS_MESSAGE].length
export const COURSE_MESSAGE_PATTERN = '\n- %s'
export const ASSIGNMENT_MESSAGE_PATTERN =
'\n - [%s](https://www.mycourseville.com/?q=courseville/worksheet/%d/%d)'
'\n - [%s](https://www.mycourseville.com/?q=courseville/worksheet/%d/%d)'

export enum NotifyMessage {
FetchingError = 'Error fetching, Might be rate limited or server is down',
Expand Down
1 change: 0 additions & 1 deletion src/scraper/updateAssignmentsOfCourse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export default async function updateAssignmentsOfCourse(
}, found)
}
}
console.log(mergedNewAssignments)

return mergedNewAssignments
}

0 comments on commit 8c4881d

Please sign in to comment.