woops
This commit is contained in:
parent
f26c7a32ec
commit
95a7da3200
@ -19,8 +19,6 @@ namespace NadekoBot.Services.Music
|
|||||||
{
|
{
|
||||||
if (string.IsNullOrWhiteSpace(url))
|
if (string.IsNullOrWhiteSpace(url))
|
||||||
throw new ArgumentNullException(nameof(url));
|
throw new ArgumentNullException(nameof(url));
|
||||||
if (string.IsNullOrWhiteSpace(_creds.SoundCloudClientId))
|
|
||||||
throw new ArgumentNullException(nameof(_creds.SoundCloudClientId));
|
|
||||||
|
|
||||||
string response = "";
|
string response = "";
|
||||||
|
|
||||||
@ -44,8 +42,6 @@ namespace NadekoBot.Services.Music
|
|||||||
{
|
{
|
||||||
if (string.IsNullOrWhiteSpace(query))
|
if (string.IsNullOrWhiteSpace(query))
|
||||||
throw new ArgumentNullException(nameof(query));
|
throw new ArgumentNullException(nameof(query));
|
||||||
if (string.IsNullOrWhiteSpace(_creds.SoundCloudClientId))
|
|
||||||
throw new ArgumentNullException(nameof(_creds.SoundCloudClientId));
|
|
||||||
|
|
||||||
var response = "";
|
var response = "";
|
||||||
using (var http = new HttpClient())
|
using (var http = new HttpClient())
|
||||||
|
Loading…
Reference in New Issue
Block a user