Skip to content

Commit

Permalink
Merge pull request #603 from osu-tournament-rating/hotfix/dto-mapping
Browse files Browse the repository at this point in the history
Update PlayerCompactDTO to match entity
  • Loading branch information
hburn7 authored Feb 20, 2025
2 parents 666925a + 8a8ae70 commit a6f29de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion API/DTOs/PlayerCompactDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class PlayerCompactDTO
/// <summary>
/// The player's primary osu! ruleset
/// </summary>
public Ruleset Ruleset { get; init; }
public Ruleset DefaultRuleset { get; init; }

/// <summary>
/// Id of the associated user, if available
Expand Down
1 change: 0 additions & 1 deletion Database/Entities/Player.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics.CodeAnalysis;
using Database.Entities.Interfaces;
using Database.Entities.Processor;
Expand Down

0 comments on commit a6f29de

Please sign in to comment.