mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
*ahem* REVERTED the changes to GetUserRequest because they're not needed (yet)
This commit is contained in:
@ -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";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user