Add check for limit excetion for api football and fix bug in switch in app

This commit is contained in:
2020-10-25 21:50:46 +01:00
parent 306bf69107
commit 1e9ee8127c
2 changed files with 10 additions and 31 deletions

View File

@@ -45,9 +45,11 @@ public class App {
case "TeamsUpdater":
TLWTeamsUpdater teamsUpdater = new TLWTeamsUpdater(season, league, configFile);
sql = teamsUpdater.getInsertSQL();
break;
case "APIFootballUpdater":
APIFootballUpdater apiFootballUpdater = new APIFootballUpdater(season);
apiFootballUpdater.updateAllFixtures(configFile);
break;
default:
break;
}