Update WebRequest usage in line with framework changes

This commit is contained in:
Dean Herbert
2017-10-23 14:46:17 +09:00
parent 59d908861e
commit 8fab6abf90
4 changed files with 7 additions and 13 deletions

View File

@ -37,7 +37,7 @@ namespace osu.Game.Online.API
{
try
{
req.BlockingPerform();
req.Perform();
}
catch
{
@ -61,7 +61,7 @@ namespace osu.Game.Online.API
ClientSecret = clientSecret
})
{
req.BlockingPerform();
req.Perform();
Token = req.ResponseObject;
return true;