mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Add missing async suffix
This commit is contained in:
@ -30,7 +30,7 @@ namespace osu.Game.Database
|
||||
/// </summary>
|
||||
private bool pendingRequestConsumedIDs;
|
||||
|
||||
public Task<User> GetUser(int userId, CancellationToken token = default) => GetAsync(userId, token);
|
||||
public Task<User> GetUserAsync(int userId, CancellationToken token = default) => GetAsync(userId, token);
|
||||
|
||||
protected override async Task<User> ComputeValueAsync(int lookup, CancellationToken token = default)
|
||||
{
|
||||
|
@ -61,7 +61,7 @@ namespace osu.Game.Overlays.Dashboard
|
||||
|
||||
foreach (var id in e.NewItems.OfType<int>().ToArray())
|
||||
{
|
||||
users.GetUser(id).ContinueWith(u =>
|
||||
users.GetUserAsync(id).ContinueWith(u =>
|
||||
{
|
||||
if (u.Result == null)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user