mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 16:52:56 -07:00
Fixed the API not working due to a bug in .Net Core 2.1
This commit is contained in:
parent
e2dbdc190a
commit
8cbdab8e22
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ namespace Ombi
|
|||
|
||||
app.UseMiddleware<ErrorHandlingMiddleware>();
|
||||
|
||||
app.ApiKeyMiddlewear(serviceProvider);
|
||||
app.ApiKeyMiddlewear(app.ApplicationServices);
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI(c =>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue