mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Fix user agent missing in registration
This commit is contained in:
@ -162,16 +162,6 @@ namespace osu.Game.Online.API
|
||||
[JsonProperty("error")]
|
||||
public string ErrorMessage { get; set; }
|
||||
}
|
||||
|
||||
private class OsuWebRequest : WebRequest
|
||||
{
|
||||
public OsuWebRequest(string uri)
|
||||
: base(uri)
|
||||
{
|
||||
}
|
||||
|
||||
protected override string UserAgent => "osu!";
|
||||
}
|
||||
}
|
||||
|
||||
public class APIException : InvalidOperationException
|
||||
|
Reference in New Issue
Block a user