mirror of
https://github.com/ppy/osu
synced 2025-01-22 05:43:14 +00:00
Update obsolete usages
This commit is contained in:
parent
cf0f0f8a1b
commit
19dfbb0a45
@ -227,7 +227,7 @@ namespace osu.Game.Online.API
|
||||
{
|
||||
try
|
||||
{
|
||||
return JObject.Parse(req.ResponseString).SelectToken("form_error", true).ToObject<RegistrationRequest.RegistrationRequestErrors>();
|
||||
return JObject.Parse(req.GetResponseString()).SelectToken("form_error", true).ToObject<RegistrationRequest.RegistrationRequestErrors>();
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
@ -113,7 +113,7 @@ namespace osu.Game.Online.API
|
||||
cancelled = true;
|
||||
WebRequest?.Abort();
|
||||
|
||||
string responseString = WebRequest?.ResponseString;
|
||||
string responseString = WebRequest?.GetResponseString();
|
||||
|
||||
if (!string.IsNullOrEmpty(responseString))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user