Once updated, send the new zones.
This commit is contained in:
		
							parent
							
								
									99f94a30e7
								
							
						
					
					
						commit
						5a322b4193
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue