1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 01:43:15 +08:00

*ahem* REVERTED the changes to GetUserRequest because they're not needed (yet)

This commit is contained in:
FreezyLemon 2017-12-07 16:58:16 +01:00
parent ce9b003e9a
commit 6b0b518fd2

View File

@ -9,13 +9,11 @@ namespace osu.Game.Online.API.Requests
{
private long? userId;
/// <param name="userId">The user's ID.</param>
public GetUserRequest(long? userId = null)
{
this.userId = userId;
}
// Prefer ID over name
protected override string Target => userId.HasValue ? $@"users/{userId}" : @"me";
}
}