Skip to content

Commit

Permalink
[pihole] fix enableBlocking action (#17967)
Browse files Browse the repository at this point in the history
fixes #17966

Signed-off-by: Stefan Giehl <[email protected]>
  • Loading branch information
sgiehl authored Dec 24, 2024
1 parent 86762e0 commit 7e99669
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void disableBlocking(long seconds) throws PiHoleException {
@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);
}
Expand Down

0 comments on commit 7e99669

Please sign in to comment.