1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 23:22:55 +08:00

Fix unability to get local user with specific ruleset

This commit is contained in:
Andrei Zavatski 2019-08-07 06:35:57 +03:00
parent 2d0f555048
commit c16e84e5e6

View File

@ -17,6 +17,6 @@ namespace osu.Game.Online.API.Requests
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";
}
}