Remove nullable from required

This commit is contained in:
crobibero
2020-09-09 14:28:30 -06:00
parent efce4d4bf3
commit 63ebae2f9e
14 changed files with 25 additions and 25 deletions

View File

@@ -156,7 +156,7 @@ namespace Jellyfin.Api.Controllers
[ProducesResponseType(StatusCodes.Status404NotFound)]
public async Task<ActionResult<AuthenticationResult>> AuthenticateUser(
[FromRoute, Required] Guid userId,
[FromQuery, Required] string? pw,
[FromQuery, Required] string pw,
[FromQuery] string? password)
{
var user = _userManager.GetUserById(userId);