mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 18:12:56 +08:00
Fix unability to get local user with specific ruleset
This commit is contained in:
parent
2d0f555048
commit
c16e84e5e6
@ -17,6 +17,6 @@ namespace osu.Game.Online.API.Requests
|
|||||||
this.ruleset = ruleset;
|
this.ruleset = ruleset;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override string Target => userId.HasValue ? (ruleset != null ? $@"users/{userId}/{ruleset.ShortName}" : $@"users/{userId}") : @"me";
|
protected override string Target => userId.HasValue ? (ruleset != null ? $@"users/{userId}/{ruleset.ShortName}" : $@"users/{userId}") : ruleset != null ? $@"me/{ruleset.ShortName}" : $@"me";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user