This commit is contained in:
Master Kwoth 2017-06-20 04:27:50 +02:00
parent f26c7a32ec
commit 95a7da3200

View File

@ -19,8 +19,6 @@ namespace NadekoBot.Services.Music
{
if (string.IsNullOrWhiteSpace(url))
throw new ArgumentNullException(nameof(url));
if (string.IsNullOrWhiteSpace(_creds.SoundCloudClientId))
throw new ArgumentNullException(nameof(_creds.SoundCloudClientId));
string response = "";
@ -44,8 +42,6 @@ namespace NadekoBot.Services.Music
{
if (string.IsNullOrWhiteSpace(query))
throw new ArgumentNullException(nameof(query));
if (string.IsNullOrWhiteSpace(_creds.SoundCloudClientId))
throw new ArgumentNullException(nameof(_creds.SoundCloudClientId));
var response = "";
using (var http = new HttpClient())