Skip to content

Commit

Permalink
double Popularity for Movie model is now nullable to combat jellyfin#418
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUltimateCoder committed Oct 13, 2022
1 parent 4b10d74 commit 15b4da1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions TMDbLib/Objects/Movies/Movie.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using System;
using Newtonsoft.Json;

using System;
using System.Collections.Generic;
using Newtonsoft.Json;

using TMDbLib.Objects.Changes;
using TMDbLib.Objects.General;
using TMDbLib.Objects.Reviews;
Expand Down Expand Up @@ -65,7 +67,7 @@ public class Movie
public string Overview { get; set; }

[JsonProperty("popularity")]
public double Popularity { get; set; }
public double? Popularity { get; set; }

[JsonProperty("poster_path")]
public string PosterPath { get; set; }
Expand Down

0 comments on commit 15b4da1

Please sign in to comment.