Skip to content

Commit

Permalink
fix: missing not
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceh121 committed Nov 30, 2023
1 parent cace2b1 commit ae053e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/vinceh121/knb/SkolengoCheckingJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ private void processHomework(final Knb knb, final JSkolengo sko, final StudentUs
try {
hws = sko.fetchHomeworkAssignments(LocalDate.now().minusWeeks(1), LocalDate.now().plusWeeks(1))
.stream()
.filter(hw -> redis.exists(HOMEWORK_REDIS_PREFIX + hw.getId()))
.filter(hw -> !redis.exists(HOMEWORK_REDIS_PREFIX + hw.getId()))
.collect(Collectors.toList());
} catch (final Exception e) {
SkolengoCheckingJob.LOG
Expand Down

0 comments on commit ae053e5

Please sign in to comment.