1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:03:21 +08:00

Add missing async suffix

This commit is contained in:
Dean Herbert 2020-11-09 10:40:16 +09:00
parent 42e4df8cc8
commit 90ce1bd5f0
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ namespace osu.Game.Database
/// </summary> /// </summary>
private bool pendingRequestConsumedIDs; 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) protected override async Task<User> ComputeValueAsync(int lookup, CancellationToken token = default)
{ {

View File

@ -61,7 +61,7 @@ namespace osu.Game.Overlays.Dashboard
foreach (var id in e.NewItems.OfType<int>().ToArray()) foreach (var id in e.NewItems.OfType<int>().ToArray())
{ {
users.GetUser(id).ContinueWith(u => users.GetUserAsync(id).ContinueWith(u =>
{ {
if (u.Result == null) if (u.Result == null)
return; return;