Fix json web requests having incorrect user agents

This commit is contained in:
smoogipoo
2020-01-17 19:21:27 +09:00
parent 86ae442d54
commit 2187523bf3
4 changed files with 25 additions and 15 deletions

View File

@ -4,7 +4,6 @@
using System.Diagnostics;
using System.Net.Http;
using osu.Framework.Bindables;
using osu.Framework.IO.Network;
namespace osu.Game.Online.API
{
@ -166,7 +165,7 @@ namespace osu.Game.Online.API
}
}
private class AccessTokenRequest : JsonWebRequest<OAuthToken>
private class AccessTokenRequest : OsuJsonWebRequest<OAuthToken>
{
protected string GrantType;