refactor name server groups

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
bcmmbaga
2024-10-01 00:54:53 +03:00
parent 43eb7261e3
commit d36d30dec4
2 changed files with 101 additions and 66 deletions
@@ -120,6 +120,7 @@ func (h *NameserversHandler) UpdateNameserverGroup(w http.ResponseWriter, r *htt
updatedNSGroup := &nbdns.NameServerGroup{
ID: nsGroupID,
AccountID: accountID,
Name: req.Name,
Description: req.Description,
Primary: req.Primary,