@@ -49,13 +49,13 @@ await webRequestController.SignedFetchGetAsync(url, string.Empty, ct)
4949 EmailSubscriptionResponse emailSubscriptionResponse = await GetEmailSubscriptionInfoAsync ( ct ) ;
5050 SeasonsData seasonResult = await UpdateProgramSeasonsAsync ( ct ) ;
5151
52- creditsProgramProgressResponse . lastSeason = seasonResult ! . LastSeason ;
53- creditsProgramProgressResponse . currentSeason = seasonResult ! . CurrentSeason . season ;
52+ creditsProgramProgressResponse . lastSeason = seasonResult ! . lastSeason ;
53+ creditsProgramProgressResponse . currentSeason = seasonResult ! . currentSeason . season ;
5454 // Setting this here, so we don't need to check for null everytime.
55- if ( seasonResult ! . CurrentSeason . season . state == null )
55+ if ( seasonResult ! . currentSeason . season . state == null )
5656 creditsProgramProgressResponse . currentSeason . state = NO_DATA_STATE ;
57- creditsProgramProgressResponse . currentWeek = seasonResult ! . CurrentSeason . week ;
58- creditsProgramProgressResponse . nextSeason = seasonResult ! . NextSeason ;
57+ creditsProgramProgressResponse . currentWeek = seasonResult ! . currentSeason . week ;
58+ creditsProgramProgressResponse . nextSeason = seasonResult ! . nextSeason ;
5959
6060 creditsProgramProgressResponse . user . email =
6161 ! string . IsNullOrEmpty ( emailSubscriptionResponse . unconfirmedEmail )
@@ -85,9 +85,9 @@ private async UniTask<SeasonsData> UpdateProgramSeasonsAsync(CancellationToken c
8585 var result = await webRequestController . SignedFetchGetAsync ( url , string . Empty , ct )
8686 . CreateFromJson < SeasonsData > ( WRJsonParser . Unity ) ;
8787
88- result . LastSeason . state ??= NO_DATA_STATE ;
89- result . CurrentSeason . season . state ??= NO_DATA_STATE ;
90- result . NextSeason . state = string . IsNullOrEmpty ( result . NextSeason . startDate ) ? NO_DATA_STATE : SEASON_NOT_STARTED_STATE ;
88+ result . lastSeason . state ??= NO_DATA_STATE ;
89+ result . currentSeason . season . state ??= NO_DATA_STATE ;
90+ result . nextSeason . state = string . IsNullOrEmpty ( result . nextSeason . startDate ) ? NO_DATA_STATE : SEASON_NOT_STARTED_STATE ;
9191
9292 return result ;
9393 }
0 commit comments