mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:03:13 +08:00
Add failing test case
This commit is contained in:
parent
c4e32742dc
commit
e7f35701db
File diff suppressed because one or more lines are too long
@ -11,15 +11,16 @@ namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class GetWikiRequest : APIRequest<APIWikiPage>
|
||||
{
|
||||
private readonly string path;
|
||||
public readonly string Path;
|
||||
|
||||
private readonly Language language;
|
||||
|
||||
public GetWikiRequest(string path, Language language = Language.en)
|
||||
{
|
||||
this.path = path;
|
||||
Path = path;
|
||||
this.language = language;
|
||||
}
|
||||
|
||||
protected override string Target => $"wiki/{language.ToCultureCode()}/{path}";
|
||||
protected override string Target => $"wiki/{language.ToCultureCode()}/{Path}";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user