comment_delete.go: fix isDomainModerator args

This commit is contained in:
Adhityaa 2018-06-07 13:05:52 +05:30
parent 2a44e83989
commit d85c136f1d

View File

@ -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