Minor fixes
This commit is contained in:
parent
c3b5e11739
commit
55f45ca733
@ -2,7 +2,7 @@
|
||||
|
||||
public class SongLeaderboardResponse
|
||||
{
|
||||
public List<SongLeaderboard> LeaderboardData { get; set; }
|
||||
public List<SongLeaderboard> LeaderboardData { get; set; } = new();
|
||||
public int CurrentPage { get; set; }
|
||||
public int TotalPages { get; set; }
|
||||
}
|
@ -4,14 +4,12 @@ using GameDatabase.Context;
|
||||
using SharedProject.Models;
|
||||
using SharedProject.Models.Responses;
|
||||
using Swan.Mapping;
|
||||
using TaikoLocalServer.Controllers.Api;
|
||||
using SharedProject.Utils;
|
||||
|
||||
namespace TaikoLocalServer.Services;
|
||||
|
||||
public class AuthService(TaikoDbContext context) : IAuthService
|
||||
{
|
||||
private readonly UserSettingsController _userSettingsController;
|
||||
public async Task<Card?> GetCardByAccessCode(string accessCode)
|
||||
{
|
||||
return await context.Cards.FindAsync(accessCode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user