mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 14:33:06 +03:00
Apply suggestions
This commit is contained in:
@@ -59,7 +59,7 @@ namespace Jellyfin.Api.Controllers
|
||||
PreferredMetadataLanguage = _config.Configuration.PreferredMetadataLanguage
|
||||
};
|
||||
|
||||
return Ok(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -108,7 +108,7 @@ namespace Jellyfin.Api.Controllers
|
||||
public ActionResult<StartupUserDto> GetFirstUser()
|
||||
{
|
||||
var user = _userManager.Users.First();
|
||||
return Ok(new StartupUserDto { Name = user.Name, Password = user.Password });
|
||||
return new StartupUserDto { Name = user.Name, Password = user.Password };
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user