1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

fix "key" having wrong url parameter name

This commit is contained in:
Davran Dilshat 2021-09-07 17:17:10 +01:00
parent f209222812
commit be9540e535

View File

@ -43,7 +43,7 @@ namespace osu.Game.Online.API.Requests
Ruleset = ruleset;
}
protected override string Target => lookup != null ? $@"users/{lookup}/{Ruleset?.ShortName}?k={lookupType.ToString().ToLower()}" : $@"me/{Ruleset?.ShortName}";
protected override string Target => lookup != null ? $@"users/{lookup}/{Ruleset?.ShortName}?key={lookupType.ToString().ToLower()}" : $@"me/{Ruleset?.ShortName}";
private enum LookupType
{