mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-30 10:55:16 -04:00
Finishing to fix repositories
This commit is contained in:
@@ -263,6 +263,9 @@ namespace Kyoo.Controllers
|
||||
|
||||
public Task Load(IResource obj, string member)
|
||||
{
|
||||
if (obj == null)
|
||||
throw new ArgumentNullException(nameof(obj));
|
||||
|
||||
return (obj, member) switch
|
||||
{
|
||||
(Library l, nameof(Library.Providers)) => ProviderRepository
|
||||
|
||||
Reference in New Issue
Block a user