Skip to content

Commit

Permalink
Merge pull request #82 from sarahwiley/patch-1
Browse files Browse the repository at this point in the history
support for user_role parameter on checkSpam() API
  • Loading branch information
chrisfosterelli authored Jun 6, 2018
2 parents b08dc5b + 5499283 commit a42981c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/akismet.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ var Akismet = function(options) {
comment_date_gmt : options.comment_date_gmt || '',
comment_post_modified_gmt : options.comment_post_modified_gmt || '',
referrer : options.referrer || options.referer || '',
user_role : options.user_role || '',
is_test : options.is_test === true
})
.set('User-Agent', this.userAgent)
Expand Down

0 comments on commit a42981c

Please sign in to comment.