mirror of
https://github.com/jellyfin/TMDbLib.git
synced 2024-11-26 23:30:23 +00:00
Merge pull request #444 from revam/patch-3
Add Biography to TranslationData
This commit is contained in:
commit
f747aa3f95
@ -18,6 +18,14 @@ namespace TMDbLib.Objects.General
|
||||
[JsonProperty("overview")]
|
||||
public string Overview { get; set; }
|
||||
|
||||
// Private hack to ensure two properties (overview, biography) are deserialized into Overview.
|
||||
// Most of the entities have an overview, but people have a biography.
|
||||
[JsonProperty("biography")]
|
||||
private string Biography
|
||||
{
|
||||
set => Overview = value;
|
||||
}
|
||||
|
||||
[JsonProperty("homepage")]
|
||||
public string HomePage { get; set; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user