mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 08:42:57 -07:00
Fixed the TV Requests issue #865
This commit is contained in:
parent
386f856ea7
commit
1a7f81b16c
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ namespace Ombi
|
||||||
{
|
{
|
||||||
// Add framework services.
|
// Add framework services.
|
||||||
services.AddMemoryCache();
|
services.AddMemoryCache();
|
||||||
services.AddMvc();
|
services.AddMvc()
|
||||||
|
.AddJsonOptions(x => x.SerializerSettings.ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore);
|
||||||
services.AddOmbiMappingProfile();
|
services.AddOmbiMappingProfile();
|
||||||
services.AddAutoMapper(expression =>
|
services.AddAutoMapper(expression =>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue