mirror of
https://gitlab.com/commento/commento.git
synced 2026-06-17 09:55:27 -04:00
comment_delete.go: fix isDomainModerator args
This commit is contained in:
@@ -47,7 +47,7 @@ func commentDeleteHandler(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
isModerator, err := isDomainModerator(c.Email, domain)
|
||||
isModerator, err := isDomainModerator(domain, c.Email)
|
||||
if err != nil {
|
||||
writeBody(w, response{"success": false, "message": err.Error()})
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user