comment_approve.go: fix isDomainModerator args
This commit is contained in:
parent
85a6d1ec95
commit
2a44e83989
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user