Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Jul 1, 2024
1 parent 1c3e303 commit 8652bd7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public async Task<Paging<UserCrashReportModel>> GetCrashReportsPaginatedAsync(Ne
{
var moduleIds = user.ToModules.Select(x => x.Module.ModuleId).ToHashSet();
var nexusModsModIds = user.ToNexusModsMods.Select(x => x.NexusModsMod.NexusModsModId).ToHashSet();
moduleIds.AddRange(_dbContext.NexusModsModModules.Where(x => nexusModsModIds.Contains(x.NexusModsModId)).Select(x => x.ModuleId));

IQueryable<UserCrashReportModel> DbQueryBase(Expression<Func<CrashReportEntity, bool>> predicate) => _dbContext.CrashReports
.Include(x => x.ToUsers).ThenInclude(x => x.NexusModsUser)
Expand Down

0 comments on commit 8652bd7

Please sign in to comment.