diff options
| author | crobibero <cody@robibe.ro> | 2020-08-04 12:48:53 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-08-04 12:48:53 -0600 |
| commit | 858aecd409914f6a9ca6f86445ec20c8bacc0b59 (patch) | |
| tree | 249704c4c58724a87d4eeede6df4a26d11a97132 /Jellyfin.Api/Controllers/SuggestionsController.cs | |
| parent | 2b7cefdf15cf15a3e2e9f8499af7a008ea4a9cca (diff) | |
Fix all route for base url support
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, |
