diff --git a/DragaliaAPI/DragaliaAPI/Features/StorySkip/StorySkipService.cs b/DragaliaAPI/DragaliaAPI/Features/StorySkip/StorySkipService.cs index f86b91d9e..0f15ae25b 100644 --- a/DragaliaAPI/DragaliaAPI/Features/StorySkip/StorySkipService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/StorySkip/StorySkipService.cs @@ -34,7 +34,7 @@ ILogger logger public async Task IncreaseFortLevels() { List userForts = await apiContext - .PlayerFortBuilds.Where(x => FortConfigs.Keys.Contains(x.PlantId)) + .PlayerFortBuilds.Where(x => FortConfigs.Keys.AsEnumerable().Contains(x.PlantId)) .ToListAsync(); int currentFortLevel = await fortDataService.GetTotalFortLevel(); @@ -263,7 +263,7 @@ public async Task ProcessStoryCompletions() public async Task RewardCharas() { List userCharas = await apiContext - .PlayerCharaData.Where(x => CharasList.Contains(x.CharaId)) + .PlayerCharaData.Where(x => CharasList.AsEnumerable().Contains(x.CharaId)) .ToListAsync(); List newUserCharas = []; @@ -313,7 +313,7 @@ public async Task RewardCharas() public async Task RewardDragons() { List userDragons = await apiContext - .PlayerDragonData.Where(x => DragonList.Contains(x.DragonId)) + .PlayerDragonData.Where(x => DragonList.AsEnumerable().Contains(x.DragonId)) .ToListAsync(); List newUserDragons = [];