domain_moderator_delete.go: fix fn param order
This commit is contained in:
parent
08783df363
commit
02f134932f
@ -42,7 +42,7 @@ func domainModeratorDeleteHandler(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
domain := stripDomain(*x.Domain)
|
||||
authorised, err := domainOwnershipVerify(domain, o.Email)
|
||||
authorised, err := domainOwnershipVerify(o.OwnerHex, domain)
|
||||
if err != nil {
|
||||
writeBody(w, response{"success": false, "message": err.Error()})
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user