From 1a7f81b16c2bb7c559224997706cf7ec76e860f8 Mon Sep 17 00:00:00 2001 From: "Jamie.Rees" Date: Tue, 27 Jun 2017 08:23:53 +0100 Subject: [PATCH] Fixed the TV Requests issue #865 --- src/Ombi/Startup.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Ombi/Startup.cs b/src/Ombi/Startup.cs index de17a2272..e3de4a7da 100644 --- a/src/Ombi/Startup.cs +++ b/src/Ombi/Startup.cs @@ -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 => {