Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
fix(deps): update ip rep client to v4 (#249) r=@vladikoff
Browse files Browse the repository at this point in the history
  • Loading branch information
g-k authored and vladikoff committed Jun 8, 2018
1 parent c40684e commit ab1fb6e
Show file tree
Hide file tree
Showing 4 changed files with 1,064 additions and 1,064 deletions.
4 changes: 2 additions & 2 deletions lib/reputationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ var get = function (log, ipClient, ip) {
return ipClient.get(ip)
.then(function (response) {
if (response && response.body && response.statusCode === 200) {
log.info({ op: 'fetchIPReputation', ip: ip, reputation: response.body.Reputation })
return response.body.Reputation
log.info({ op: 'fetchIPReputation', ip: ip, reputation: response.body.reputation })
return response.body.reputation
}

if (response.statusCode === 404) {
Expand Down
Loading

0 comments on commit ab1fb6e

Please sign in to comment.