Add several improvements for EM

This commit is contained in:
2024-06-08 00:12:59 +02:00
parent 7af8142c62
commit 5c0e86fca6
10 changed files with 215 additions and 57 deletions
@@ -29,8 +29,7 @@ public class TLWMatchdaysUpdater {
this.matchdaysOriginal = conn.getMatchdays(String.valueOf(season), String.valueOf(league));
this.matchdaysOriginal.sort(Comparator.comparing(TLWMatchday::getMatchday));
TLWMatchdaysCreator creator = new TLWMatchdaysCreator(season, league, configPath);
this.matchdaysUpdated = creator.getMatchdays();
this.matchdaysUpdated = conn.getUpdatedMatchdaysBasedOnMatches(String.valueOf(season), String.valueOf(league));
this.matchdaysUpdated.sort(Comparator.comparing(TLWMatchday::getMatchday));
}