mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
domain_new: create domains with ownerHex
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user