mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 20:54:20 +01:00
Merge pull request #4789 from crobibero/provider-search
Fix get provider id extension
(cherry picked from commit bc8f1bdcac)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua M. Boniface
parent
00a608dfab
commit
b10178bd1e
@@ -49,7 +49,7 @@ namespace MediaBrowser.Model.Entities
|
|||||||
}
|
}
|
||||||
|
|
||||||
instance.ProviderIds.TryGetValue(name, out string? id);
|
instance.ProviderIds.TryGetValue(name, out string? id);
|
||||||
return id;
|
return string.IsNullOrEmpty(id) ? null : id;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user