domain_new: create domains with ownerHex
This commit is contained in:
parent
c5b29bbfe1
commit
dec05be7f8
@ -45,7 +45,7 @@ func domainNewHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
domain := stripDomain(*x.Domain)
|
||||
|
||||
if err = domainNew(o.Email, *x.Name, domain); err != nil {
|
||||
if err = domainNew(o.OwnerHex, *x.Name, domain); err != nil {
|
||||
writeBody(w, response{"success": false, "message": err.Error()})
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user