Resolve issue with Domain references
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Tyler 2019-09-29 05:33:06 -04:00
parent 150e238c05
commit 150c479d33
1 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ func updateRecord(w http.ResponseWriter, r *http.Request, p httprouter.Params) {
return
}
c.Publish("godns:update_record", []byte(req.Domain))
c.Publish("godns:update_record", []byte(req.Name))
json.NewEncoder(w).Encode(&response{Success: true})
}
@ -237,7 +237,7 @@ func removeRecord(w http.ResponseWriter, r *http.Request, p httprouter.Params) {
return
}
c.Publish("godns:remove_record", []byte(req.Domain))
c.Publish("godns:remove_record", []byte(req.Name))
}
}