diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-08-21 22:19:16 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-08-21 22:19:16 +0200 |
| commit | 2b832de2898d465ba2a3c154c7fa3ead814b5021 (patch) | |
| tree | 2d95bdd231356a96593e53e54b5262f52a33a48e /Jellyfin.Api/Controllers/PlaylistsController.cs | |
| parent | 6329a36a274d1f2a02d19db5292c2287d5f83e38 (diff) | |
Fix build
Diffstat (limited to 'Jellyfin.Api/Controllers/PlaylistsController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/PlaylistsController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/PlaylistsController.cs b/Jellyfin.Api/Controllers/PlaylistsController.cs index d69228c33..31c4f228d 100644 --- a/Jellyfin.Api/Controllers/PlaylistsController.cs +++ b/Jellyfin.Api/Controllers/PlaylistsController.cs @@ -84,11 +84,11 @@ namespace Jellyfin.Api.Controllers [HttpPost("{playlistId}/Items")] [ProducesResponseType(StatusCodes.Status204NoContent)] public async Task<ActionResult> AddToPlaylist( - [FromRoute] string? playlistId, + [FromRoute] Guid? playlistId, [FromQuery] string? ids, [FromQuery] Guid? userId) { - await _playlistManager.AddToPlaylistAsync(playlistId, RequestHelpers.GetGuids(ids), userId ?? Guid.Empty).ConfigureAwait(false); + await _playlistManager.AddToPlaylistAsync(playlistId ?? Guid.Empty, RequestHelpers.GetGuids(ids), userId ?? Guid.Empty).ConfigureAwait(false); return NoContent(); } |
