Fix challonge event

Fix GenericController
Fix ChallongeSave.
Fix RestAPI in prod mode.
This commit is contained in:
2022-07-30 20:00:31 +02:00
parent 715caa74b2
commit 0173070ba4
9 changed files with 56 additions and 44 deletions

View File

@@ -85,7 +85,10 @@ namespace LaDOSE.Business.Provider.SmashProvider
Game = games.FirstOrDefault(g => g.SmashId == e.videogame.id)
}).ToList();
if (tournaments.Any(e => !e.Finish))
{
throw new Exception("Tournament not finished.");
}
return new Event
{
SmashSlug = slug,