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:
parent
ce9b003e9a
commit
6b0b518fd2
@ -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";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user