We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 089d317 commit 01ae251Copy full SHA for 01ae251
src/Geta.NotFoundHandler/Core/ScheduledJobs/ApplicationBuilderExtensions.cs
@@ -3,10 +3,7 @@
3
4
using Coravel;
5
using Geta.NotFoundHandler.Core.ScheduledJobs.Suggestions;
6
-using Geta.NotFoundHandler.Infrastructure.Configuration;
7
using Microsoft.AspNetCore.Builder;
8
-using Microsoft.Extensions.DependencyInjection;
9
-using Microsoft.Extensions.Options;
10
11
namespace Geta.NotFoundHandler.Core.ScheduledJobs;
12
@@ -15,7 +12,6 @@ public static class ApplicationBuilderExtensions
15
public static IApplicationBuilder UseScheduler(this IApplicationBuilder app)
16
13
{
17
14
var services = app.ApplicationServices;
18
- var options = services.GetRequiredService<IOptions<NotFoundHandlerOptions>>();
19
20
services.UseScheduler(scheduler =>
21
0 commit comments