This commit is contained in:
Jimmy Appelt 2015-11-06 19:56:50 +01:00
parent a913f1d459
commit c51a267924

View File

@ -5,7 +5,6 @@ using SpotifyAPI.Web.Models;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace SpotifyAPI.Web namespace SpotifyAPI.Web
@ -1256,7 +1255,6 @@ namespace SpotifyAPI.Web
{"uris", JArray.FromObject(uris.Take(100))} {"uris", JArray.FromObject(uris.Take(100))}
}; };
return UploadData<ErrorResponse>(_builder.AddPlaylistTracks(userId, playlistId, uris, position), body.ToString(Formatting.None)) ?? new ErrorResponse(); return UploadData<ErrorResponse>(_builder.AddPlaylistTracks(userId, playlistId, uris, position), body.ToString(Formatting.None)) ?? new ErrorResponse();
} }
/// <summary> /// <summary>
@ -1275,7 +1273,6 @@ namespace SpotifyAPI.Web
{"uris", JArray.FromObject(uris.Take(100))} {"uris", JArray.FromObject(uris.Take(100))}
}; };
return UploadDataAsync<ErrorResponse>(_builder.AddPlaylistTracks(userId, playlistId, uris, position), body.ToString(Formatting.None)) ?? new ErrorResponse(); return UploadDataAsync<ErrorResponse>(_builder.AddPlaylistTracks(userId, playlistId, uris, position), body.ToString(Formatting.None)) ?? new ErrorResponse();
} }
/// <summary> /// <summary>