mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:42:55 +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;
|
private long? userId;
|
||||||
|
|
||||||
/// <param name="userId">The user's ID.</param>
|
|
||||||
public GetUserRequest(long? userId = null)
|
public GetUserRequest(long? userId = null)
|
||||||
{
|
{
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prefer ID over name
|
|
||||||
protected override string Target => userId.HasValue ? $@"users/{userId}" : @"me";
|
protected override string Target => userId.HasValue ? $@"users/{userId}" : @"me";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user