More demo work, unintresting stuff

pull/4201/head
tidusjar 3 years ago
parent e2ed651487
commit 85aa5ae16f

@ -460,7 +460,12 @@ namespace Ombi.Helpers
"SpiderMan",
"Loki",
"Winter Soldier",
"Wanda"
"Wanda",
"Small Fry",
"Rex",
"Lamp life",
"Toy",
"Hawaiian"
};
}
}

@ -84,5 +84,15 @@ namespace Ombi.Controllers.V1
return new { Result = settings?.Wizard ?? false };
}
[ApiExplorerSettings(IgnoreApi = true)]
[HttpGet("demo")]
public IActionResult Demo()
{
var instance = DemoSingleton.Instance;
instance.Demo = !instance.Demo;
return new OkResult();
}
}
}
Loading…
Cancel
Save