mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-30 07:33:25 +00:00
add null check to SyncJobProcessor
This commit is contained in:
parent
156a047cfe
commit
c3eb571d1d
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue