issues
search
mozilla-services
/
ip-reputation-js-client
A node JS client to the iprepd IP reputation service
Mozilla Public License 2.0
5
stars
8
forks
source link
fix(client.js): Update cidr to a valid value per joi documentation
#66
Open
xlisachan
opened
1 year ago
xlisachan
commented
1 year ago
Because
Currently
options.cidr
is set to the boolean value of
false
. Per
joi documentation
, the valid values for
cidr
are: optional, required, forbidden.
This pull request
updates cidr to
forbidden
, as the backend only accepts non-CIDR IPv4 (see line 19)
Because
options.cidr
is set to the boolean value offalse
. Per joi documentation, the valid values forcidr
are: optional, required, forbidden.This pull request
forbidden
, as the backend only accepts non-CIDR IPv4 (see line 19)