diff options
| author | Anthony Lavado <anthonylavado@me.com> | 2020-08-19 08:17:03 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-19 08:17:03 -0400 |
| commit | 634ee2d1e913277ea8f419aca9d91a8e58426642 (patch) | |
| tree | d521b315893a1daf09da62c55292b3eab00e270e /Jellyfin.Api/Controllers/SessionController.cs | |
| parent | 93fe595e5e9863874c1973e4f2d7f3c85549d3f9 (diff) | |
| parent | 3a722740ceb83d796a7111ae40b2b67d6a313465 (diff) | |
Merge pull request #3861 from crobibero/fixes
API Fixes
Diffstat (limited to 'Jellyfin.Api/Controllers/SessionController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SessionController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/SessionController.cs b/Jellyfin.Api/Controllers/SessionController.cs index 48b57bdb7..4795fb0cf 100644 --- a/Jellyfin.Api/Controllers/SessionController.cs +++ b/Jellyfin.Api/Controllers/SessionController.cs @@ -413,7 +413,7 @@ namespace Jellyfin.Api.Controllers [Authorize(Policy = Policies.DefaultAuthorization)] [ProducesResponseType(StatusCodes.Status204NoContent)] public ActionResult PostFullCapabilities( - [FromQuery, Required] string? id, + [FromQuery] string? id, [FromBody, Required] ClientCapabilities capabilities) { if (string.IsNullOrWhiteSpace(id)) @@ -480,7 +480,7 @@ namespace Jellyfin.Api.Controllers /// </summary> /// <response code="200">Password reset providers retrieved.</response> /// <returns>An <see cref="IEnumerable{NameIdPair}"/> with the password reset providers.</returns> - [HttpGet("Auto/PasswordResetProviders")] + [HttpGet("Auth/PasswordResetProviders")] [ProducesResponseType(StatusCodes.Status200OK)] [Authorize(Policy = Policies.RequiresElevation)] public ActionResult<IEnumerable<NameIdPair>> GetPasswordResetProviders() |
