Fixed the TV Requests issue #865

This commit is contained in:
Jamie.Rees 2017-06-27 08:23:53 +01:00
parent 386f856ea7
commit 1a7f81b16c

View file

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