Browse Source

Fix get provider id extension

crobibero 4 years ago
parent
commit
ca5f87c7eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MediaBrowser.Model/Entities/ProviderIdsExtensions.cs

+ 1 - 1
MediaBrowser.Model/Entities/ProviderIdsExtensions.cs

@@ -49,7 +49,7 @@ namespace MediaBrowser.Model.Entities
             }
 
             instance.ProviderIds.TryGetValue(name, out string? id);
-            return id;
+            return string.IsNullOrEmpty(id) ? null : id;
         }
 
         /// <summary>