From 8cbdab8e220ad6415c68c9b5d78ed4c5d6a76f7c Mon Sep 17 00:00:00 2001 From: Jamie Date: Thu, 14 Jun 2018 22:08:28 +0100 Subject: [PATCH] Fixed the API not working due to a bug in .Net Core 2.1 --- src/Ombi/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ombi/Startup.cs b/src/Ombi/Startup.cs index 4b373d457..8037a3021 100644 --- a/src/Ombi/Startup.cs +++ b/src/Ombi/Startup.cs @@ -218,7 +218,7 @@ namespace Ombi app.UseMiddleware(); - app.ApiKeyMiddlewear(serviceProvider); + app.ApiKeyMiddlewear(app.ApplicationServices); app.UseSwagger(); app.UseSwaggerUI(c => {