Fixed the TV Requests issue #865

pull/1488/head
Jamie.Rees 7 years ago
parent 386f856ea7
commit 1a7f81b16c

@ -67,7 +67,8 @@ namespace Ombi
{
// Add framework services.
services.AddMemoryCache();
services.AddMvc();
services.AddMvc()
.AddJsonOptions(x => x.SerializerSettings.ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore);
services.AddOmbiMappingProfile();
services.AddAutoMapper(expression =>
{

Loading…
Cancel
Save