Fixed the API not working due to a bug in .Net Core 2.1

pull/2336/head
Jamie 6 years ago
parent e2dbdc190a
commit 8cbdab8e22

@ -218,7 +218,7 @@ namespace Ombi
app.UseMiddleware<ErrorHandlingMiddleware>();
app.ApiKeyMiddlewear(serviceProvider);
app.ApiKeyMiddlewear(app.ApplicationServices);
app.UseSwagger();
app.UseSwaggerUI(c =>
{

Loading…
Cancel
Save