[pihole] fix enableBlocking action (#17967)

fixes #17966

Signed-off-by: Stefan Giehl <stefan@matomo.org>
pull/18077/head
Stefan Giehl 2024-12-24 01:11:11 +01:00 committed by Leo Siepel
parent 7f428d1d06
commit c6e0536e05
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public class JettyAdminService implements AdminService {
@Override
public void enableBlocking() throws PiHoleException {
logger.debug("Enabling blocking");
var url = baseUrl.resolve("/admin/api.php?disable&auth=%s".formatted(token));
var url = baseUrl.resolve("/admin/api.php?enable&auth=%s".formatted(token));
var request = client.newRequest(url).timeout(TIMEOUT_SECONDS, SECONDS);
send(request);
}