mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 10:55:40 -04:00
comment_approve.go: fix isDomainModerator args
This commit is contained in:
@ -48,7 +48,7 @@ func commentApproveHandler(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