Skip to content

Commit

Permalink
🔥 Remove duplicated line
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Mar 28, 2021
1 parent 229c251 commit b74a9b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ const pronoteSynchronization = async () => {
nextWeekDay.setDate(nextWeekDay.getDate() + 30);
const timetable = await session.timetable(new Date(), nextWeekDay);
const awayNotifications = [];
timetable.filter((lesson) => lesson.isAway).forEach((lesson) => {
timetable.filter((lesson) => lesson.isAway || lesson.isCancelled).forEach((lesson) => {
if (!cache.lessonsAway.some((lessonID) => lessonID === lesson.id)){
awayNotifications.push({
Expand Down

0 comments on commit b74a9b8

Please sign in to comment.