diff options
| author | crobibero <cody@robibe.ro> | 2020-05-19 13:22:09 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-05-19 13:22:09 -0600 |
| commit | 5f0c37d5745cbf2632d377905a0763f0254bca08 (patch) | |
| tree | 43f989138a59ca4b4c7851af8b873cd0f73c24a6 | |
| parent | e03c97d7cdfad65a48bc0aff6ca0e45f9b3ec3cd (diff) | |
Fix DefaultDirectoryBrowserInfo naming
| -rw-r--r-- | Jellyfin.Api/Controllers/EnvironmentController.cs | 4 | ||||
| -rw-r--r-- | Jellyfin.Api/Models/EnvironmentDtos/DefaultDirectoryBrowserInfoDto.cs (renamed from Jellyfin.Api/Models/EnvironmentDtos/DefaultDirectoryBrowserInfo.cs) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Jellyfin.Api/Controllers/EnvironmentController.cs b/Jellyfin.Api/Controllers/EnvironmentController.cs index 78c206ba1..8d9d2642f 100644 --- a/Jellyfin.Api/Controllers/EnvironmentController.cs +++ b/Jellyfin.Api/Controllers/EnvironmentController.cs @@ -198,9 +198,9 @@ namespace Jellyfin.Api.Controllers /// <returns>Default directory browser.</returns> [HttpGet("DefaultDirectoryBrowser")] [ProducesResponseType(StatusCodes.Status200OK)] - public ActionResult<DefaultDirectoryBrowserInfo> GetDefaultDirectoryBrowser() + public ActionResult<DefaultDirectoryBrowserInfoDto> GetDefaultDirectoryBrowser() { - return new DefaultDirectoryBrowserInfo(); + return new DefaultDirectoryBrowserInfoDto(); } } } diff --git a/Jellyfin.Api/Models/EnvironmentDtos/DefaultDirectoryBrowserInfo.cs b/Jellyfin.Api/Models/EnvironmentDtos/DefaultDirectoryBrowserInfoDto.cs index 6b1c750bf..a86815b81 100644 --- a/Jellyfin.Api/Models/EnvironmentDtos/DefaultDirectoryBrowserInfo.cs +++ b/Jellyfin.Api/Models/EnvironmentDtos/DefaultDirectoryBrowserInfoDto.cs @@ -3,7 +3,7 @@ namespace Jellyfin.Api.Models.EnvironmentDtos /// <summary> /// Default directory browser info. /// </summary> - public class DefaultDirectoryBrowserInfo + public class DefaultDirectoryBrowserInfoDto { /// <summary> /// Gets or sets the path. |
