Skip to content

Commit 01ae251

Browse files
committed
Code review fixes
1 parent 089d317 commit 01ae251

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Geta.NotFoundHandler/Core/ScheduledJobs/ApplicationBuilderExtensions.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33

44
using Coravel;
55
using Geta.NotFoundHandler.Core.ScheduledJobs.Suggestions;
6-
using Geta.NotFoundHandler.Infrastructure.Configuration;
76
using Microsoft.AspNetCore.Builder;
8-
using Microsoft.Extensions.DependencyInjection;
9-
using Microsoft.Extensions.Options;
107

118
namespace Geta.NotFoundHandler.Core.ScheduledJobs;
129

@@ -15,7 +12,6 @@ public static class ApplicationBuilderExtensions
1512
public static IApplicationBuilder UseScheduler(this IApplicationBuilder app)
1613
{
1714
var services = app.ApplicationServices;
18-
var options = services.GetRequiredService<IOptions<NotFoundHandlerOptions>>();
1915

2016
services.UseScheduler(scheduler =>
2117
{

0 commit comments

Comments
 (0)