fix: Fix conflicting property name for Swagger (#4733)

This commit is contained in:
sephrat 2022-08-22 20:39:31 +02:00 committed by GitHub
commit d661f32e8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,7 @@ namespace Ombi.Api.Plex.Models
public string grandparentTheme { get; set; }
public string chapterSource { get; set; }
public Medium[] Media { get; set; }
[JsonProperty("Guid")] // force uppercase to solve conflict with lowercase guid
public List<PlexGuids> Guid { get; set; } = new List<PlexGuids>();
}