mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Update comments; Improve neighboring builds handling;
Apply fixes to things pointed out by AppVeyor
This commit is contained in:
@ -7,14 +7,14 @@ namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class GetChangelogBuildRequest : APIRequest<APIChangelog>
|
||||
{
|
||||
private readonly string name;
|
||||
private readonly string version;
|
||||
//private readonly string name;
|
||||
//private readonly string version;
|
||||
|
||||
public GetChangelogBuildRequest(string streamName, string buildVersion)
|
||||
{
|
||||
name = streamName;
|
||||
version = buildVersion;
|
||||
}
|
||||
//public GetChangelogBuildRequest(string streamName, string buildVersion)
|
||||
//{
|
||||
// name = streamName;
|
||||
// version = buildVersion;
|
||||
//}
|
||||
|
||||
//protected override string Target => $@"changelog/{name}/{version}";
|
||||
protected override string Uri => @"https://api.myjson.com/bins/ya5q2"; // for testing
|
||||
|
@ -6,12 +6,9 @@ using System.Collections.Generic;
|
||||
|
||||
namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
/// <summary>
|
||||
/// Obviously a placeholder
|
||||
/// </summary>
|
||||
public class GetChangelogLatestBuildsRequest : APIRequest<List<APIChangelog>>
|
||||
{
|
||||
protected override string Uri => Target;
|
||||
protected override string Target => @"https://api.myjson.com/bins/16waui";
|
||||
//protected override string Target => @"changelog";
|
||||
protected override string Uri => @"https://api.myjson.com/bins/16waui"; // for testing
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class GetChangelogRequest : APIRequest<APIChangelog[]>
|
||||
{
|
||||
protected override string Uri => Target;
|
||||
protected override string Target => "https://api.myjson.com/bins/6zv2i";
|
||||
//protected override string Target => @"changelog";
|
||||
protected override string Uri => @"https://api.myjson.com/bins/6zv2i"; // for testing
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user