Skip to content

Commit

Permalink
Fix viewmodel naming error
Browse files Browse the repository at this point in the history
  • Loading branch information
amos-cha committed Jul 3, 2024
1 parent 87c2132 commit 3095b3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class MatchBracketExportViewModel
{
public int id { get; set; }
public string? name { get; set; }
public int? nextMatchID { get; set; }
public int? nextMatchId { get; set; }
public string tournamentRoundText { get; set; }
public string? state { get; set; }
public DateTime startTime { get; set;}
Expand Down
2 changes: 1 addition & 1 deletion Gordon360/Services/RecIM/SeriesService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1816,7 +1816,7 @@ public IEnumerable<MatchBracketExportViewModel> GetSeriesBracketInformation(int
{
id = m.MatchID,
name = null, //unused currently
nextMatchID = m.NextMatchID,
nextMatchId = m.NextMatchID,
tournamentRoundText = $"{m.RoundNumber + 1}", //start at round 1 instead of 0 for UI readability
state = m.State,
startTime = m.StartTime,
Expand Down

0 comments on commit 3095b3d

Please sign in to comment.