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.