From 5a322b41934d0a25fcc8842e6c4bdd96b79c1961 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Tue, 28 Oct 2025 18:48:17 +0100 Subject: [PATCH] Once updated, send the new zones. --- src/storage.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storage.cr b/src/storage.cr index b0f4293..0c584d6 100644 --- a/src/storage.cr +++ b/src/storage.cr @@ -504,7 +504,7 @@ class DNSManager::Storage update_zone zone_clone - Response::Success.new + Response::Zone.new zone_clone end # `reset_delegation` removes the delegation of a domain, auto-fill the zone with a template. @@ -524,7 +524,7 @@ class DNSManager::Storage the_new_zone = get_new_zone domain_tld, domain_name update_zone the_new_zone - Response::Success.new + Response::Zone.new the_new_zone end # Deletes the zone and its tokens to wipe the zone data then delegates the domain.