mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
add null check to SyncJobProcessor
This commit is contained in:
parent
156a047cfe
commit
c3eb571d1d
@ -308,6 +308,11 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
throw new ArgumentException("Unrecognized category: " + category);
|
||||
}
|
||||
|
||||
if (parent == null)
|
||||
{
|
||||
return new List<BaseItem>();
|
||||
}
|
||||
|
||||
query.User = user;
|
||||
|
||||
var result = await parent.GetItems(query).ConfigureAwait(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user