Fix build issue

This commit is contained in:
Aurora Lahtela 2024-02-28 10:10:35 +02:00
parent 092533d0b7
commit 4042980379

View File

@ -45,14 +45,14 @@ public class RequestHandler {
private final AccessLogger accessLogger; private final AccessLogger accessLogger;
@Inject @Inject
public RequestHandler(WebserverConfiguration webserverConfiguration, ResponseFactory responseFactory, ResponseResolver responseResolver, RateLimitGuard rateLimitGuard, AccessLogger accessLogger) { public RequestHandler(WebserverConfiguration webserverConfiguration, ResponseFactory responseFactory, ResponseResolver responseResolver, AccessLogger accessLogger) {
this.webserverConfiguration = webserverConfiguration; this.webserverConfiguration = webserverConfiguration;
this.responseFactory = responseFactory; this.responseFactory = responseFactory;
this.responseResolver = responseResolver; this.responseResolver = responseResolver;
this.rateLimitGuard = rateLimitGuard;
this.accessLogger = accessLogger; this.accessLogger = accessLogger;
bruteForceGuard = new PassBruteForceGuard(); bruteForceGuard = new PassBruteForceGuard();
rateLimitGuard = new RateLimitGuard();
} }
public Response getResponse(InternalRequest internalRequest) { public Response getResponse(InternalRequest internalRequest) {