From 3c7562313b3d0a8bdaaa6623215f2c979150cf5f Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Wed, 3 Apr 2024 16:57:10 +0200 Subject: [PATCH] Apply review suggestions --- Jellyfin.Api/Controllers/PlaylistsController.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jellyfin.Api/Controllers/PlaylistsController.cs b/Jellyfin.Api/Controllers/PlaylistsController.cs index 01c1c578db..d167d996c1 100644 --- a/Jellyfin.Api/Controllers/PlaylistsController.cs +++ b/Jellyfin.Api/Controllers/PlaylistsController.cs @@ -159,7 +159,7 @@ public class PlaylistsController : BaseJellyfinApiController /// /// A list of objects. /// - [HttpGet("{playlistId}/User")] + [HttpGet("{playlistId}/Users")] [ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status403Forbidden)] [ProducesResponseType(StatusCodes.Status404NotFound)] @@ -191,7 +191,7 @@ public class PlaylistsController : BaseJellyfinApiController /// /// . /// - [HttpGet("{playlistId}/User/{userId}")] + [HttpGet("{playlistId}/Users/{userId}")] [ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status204NoContent)] [ProducesResponseType(StatusCodes.Status403Forbidden)] @@ -229,7 +229,7 @@ public class PlaylistsController : BaseJellyfinApiController /// A that represents the asynchronous operation to modify an user's playlist permissions. /// The task result contains an indicating success. /// - [HttpPost("{playlistId}/User/{userId}")] + [HttpPost("{playlistId}/Users/{userId}")] [ProducesResponseType(StatusCodes.Status204NoContent)] [ProducesResponseType(StatusCodes.Status403Forbidden)] [ProducesResponseType(StatusCodes.Status404NotFound)] @@ -275,7 +275,7 @@ public class PlaylistsController : BaseJellyfinApiController /// A that represents the asynchronous operation to delete a user from a playlist's shares. /// The task result contains an indicating success. /// - [HttpDelete("{playlistId}/User/{userId}")] + [HttpDelete("{playlistId}/Users/{userId}")] [ProducesResponseType(StatusCodes.Status204NoContent)] [ProducesResponseType(StatusCodes.Status403Forbidden)] [ProducesResponseType(StatusCodes.Status404NotFound)]