diff --git a/Plan/common/src/main/java/com/djrapitops/plan/delivery/webserver/http/RequestHandler.java b/Plan/common/src/main/java/com/djrapitops/plan/delivery/webserver/http/RequestHandler.java index 7b923be5e..8da7f59d3 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/delivery/webserver/http/RequestHandler.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/delivery/webserver/http/RequestHandler.java @@ -45,14 +45,14 @@ public class RequestHandler { private final AccessLogger accessLogger; @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.responseFactory = responseFactory; this.responseResolver = responseResolver; - this.rateLimitGuard = rateLimitGuard; this.accessLogger = accessLogger; bruteForceGuard = new PassBruteForceGuard(); + rateLimitGuard = new RateLimitGuard(); } public Response getResponse(InternalRequest internalRequest) {