diff options
| author | Patrick Barron <18354464+barronpm@users.noreply.github.com> | 2020-08-04 22:28:52 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-04 22:28:52 +0000 |
| commit | ff4489575b0b29638285a0cf255289134900009f (patch) | |
| tree | 249704c4c58724a87d4eeede6df4a26d11a97132 /Jellyfin.Api/Controllers/SuggestionsController.cs | |
| parent | 8385c5459142e69eb4004d32b3d772b998c37b0b (diff) | |
| parent | 858aecd409914f6a9ca6f86445ec20c8bacc0b59 (diff) | |
Merge pull request #3819 from crobibero/api-migration-cleanup
Api migration cleanup
Diffstat (limited to 'Jellyfin.Api/Controllers/SuggestionsController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SuggestionsController.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SuggestionsController.cs b/Jellyfin.Api/Controllers/SuggestionsController.cs index 55759f316..42db6b6a1 100644 --- a/Jellyfin.Api/Controllers/SuggestionsController.cs +++ b/Jellyfin.Api/Controllers/SuggestionsController.cs @@ -16,6 +16,7 @@ namespace Jellyfin.Api.Controllers /// <summary> /// The suggestions controller. /// </summary> + [Route("")] public class SuggestionsController : BaseJellyfinApiController { private readonly IDtoService _dtoService; @@ -49,7 +50,7 @@ namespace Jellyfin.Api.Controllers /// <param name="enableTotalRecordCount">Whether to enable the total record count.</param> /// <response code="200">Suggestions returned.</response> /// <returns>A <see cref="QueryResult{BaseItemDto}"/> with the suggestions.</returns> - [HttpGet("/Users/{userId}/Suggestions")] + [HttpGet("Users/{userId}/Suggestions")] [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult<QueryResult<BaseItemDto>> GetSuggestions( [FromRoute] Guid userId, |
