diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-10-15 17:49:49 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-10-15 17:49:49 +0200 |
| commit | 5edb8159a7f8966d09cb222f366d7403a9bf723b (patch) | |
| tree | ee1a7acd3a7116236f7d492f4a3ee27816186c56 /MediaBrowser.Controller/Entities/UserItemData.cs | |
| parent | 0ccbc2f37444d7deb7981a1e6ac2fafc1a518750 (diff) | |
Fix Json serialization error
Diffstat (limited to 'MediaBrowser.Controller/Entities/UserItemData.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/UserItemData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Entities/UserItemData.cs b/MediaBrowser.Controller/Entities/UserItemData.cs index f7136bdf2..ab425ee0f 100644 --- a/MediaBrowser.Controller/Entities/UserItemData.cs +++ b/MediaBrowser.Controller/Entities/UserItemData.cs @@ -1,5 +1,5 @@ using System; -using MediaBrowser.Model.Serialization; +using System.Text.Json.Serialization; namespace MediaBrowser.Controller.Entities { @@ -93,7 +93,7 @@ namespace MediaBrowser.Controller.Entities /// This should never be serialized. /// </summary> /// <value><c>null</c> if [likes] contains no value, <c>true</c> if [likes]; otherwise, <c>false</c>.</value> - [IgnoreDataMember] + [JsonIgnore] public bool? Likes { get |
