mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
update components
This commit is contained in:
@@ -157,16 +157,16 @@ namespace MediaBrowser.Api.System
|
||||
/// </summary>
|
||||
/// <param name="request">The request.</param>
|
||||
/// <returns>System.Object.</returns>
|
||||
public object Get(GetSystemInfo request)
|
||||
public async Task<object> Get(GetSystemInfo request)
|
||||
{
|
||||
var result = _appHost.GetSystemInfo();
|
||||
var result = await _appHost.GetSystemInfo().ConfigureAwait(false);
|
||||
|
||||
return ToOptimizedResult(result);
|
||||
}
|
||||
|
||||
public object Get(GetPublicSystemInfo request)
|
||||
public async Task<object> Get(GetPublicSystemInfo request)
|
||||
{
|
||||
var result = _appHost.GetSystemInfo();
|
||||
var result = await _appHost.GetSystemInfo().ConfigureAwait(false);
|
||||
|
||||
var publicInfo = new PublicSystemInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user