Apply suggestions
This commit is contained in:
parent
7db3b035a6
commit
c7c2f9da90
|
@ -59,7 +59,7 @@ namespace Jellyfin.Api.Controllers
|
||||||
PreferredMetadataLanguage = _config.Configuration.PreferredMetadataLanguage
|
PreferredMetadataLanguage = _config.Configuration.PreferredMetadataLanguage
|
||||||
};
|
};
|
||||||
|
|
||||||
return Ok(result);
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -108,7 +108,7 @@ namespace Jellyfin.Api.Controllers
|
||||||
public ActionResult<StartupUserDto> GetFirstUser()
|
public ActionResult<StartupUserDto> GetFirstUser()
|
||||||
{
|
{
|
||||||
var user = _userManager.Users.First();
|
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>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user