1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 10:31:41 +08:00

Update usages of APIUser to RealmUser

This commit is contained in:
Dean Herbert
2021-11-22 15:52:55 +09:00
Unverified
parent 213d89b479
commit fda529de26
6 changed files with 25 additions and 15 deletions
@@ -7,6 +7,7 @@ using Newtonsoft.Json;
using osu.Game.Beatmaps;
using osu.Game.Database;
using osu.Game.Extensions;
using osu.Game.Models;
#nullable enable
@@ -123,8 +124,11 @@ namespace osu.Game.Online.API.Requests.Responses
TitleUnicode = TitleUnicode,
Artist = Artist,
ArtistUnicode = ArtistUnicode,
AuthorID = AuthorID,
Author = Author,
Author = new RealmUser
{
OnlineID = Author.OnlineID,
Username = Author.Username
},
Source = Source,
Tags = Tags,
};