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 => {