Skip to content

Commit

Permalink
Merge from main
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-bstein committed Oct 16, 2024
2 parents c8495dc + 4772a4f commit cc36c4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Gameboard.Api/Features/Practice/PracticeService.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Gameboard.Api.Data;
using Gameboard.Api.Features.Games;
using Gameboard.Api.Features.Practice;
using Gameboard.Api.Services;
using Microsoft.EntityFrameworkCore;
using ServiceStack;

namespace Gameboard.Api.Features.Reports;

Expand Down Expand Up @@ -200,7 +200,6 @@ public async Task<PracticeModeReportResults> GetResultsByChallenge(PracticeModeR
// get tags that we want to display
var visibleTags = await _practiceService.GetVisibleChallengeTags(cancellationToken);


var records = ungroupedResults
.Challenges
.GroupBy(c => c.SpecId)
Expand All @@ -224,6 +223,7 @@ public async Task<PracticeModeReportResults> GetResultsByChallenge(PracticeModeR
Sponsor = s,
Performance = BuildChallengePerformance(attempts, s)
});

return new PracticeModeByChallengeReportRecord
{
Id = spec.Id,
Expand Down

0 comments on commit cc36c4c

Please sign in to comment.