mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
Properly populate QueryResult
This commit is contained in:
@@ -38,11 +38,7 @@ namespace Jellyfin.Api.Controllers
|
||||
{
|
||||
var keys = await _authenticationManager.GetApiKeys();
|
||||
|
||||
return new QueryResult<AuthenticationInfo>
|
||||
{
|
||||
Items = keys,
|
||||
TotalRecordCount = keys.Count
|
||||
};
|
||||
return new QueryResult<AuthenticationInfo>(keys);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user