Problem: Currently, the Lob API will throw an error if user submits blank input to /createAddress route in lob.js. However, it would be more efficient to throw error before verifying address using API.
Task: If a client submits a blank field to /createAddress in lob.js, an error should be thrown before calling lob.usVerifications.verify (so that it mimics /addressVerification route functionality completely).
Problem: Currently, the Lob API will throw an error if user submits blank input to
/createAddress
route inlob.js
. However, it would be more efficient to throw error before verifying address using API.Task: If a client submits a blank field to
/createAddress
inlob.js
, an error should be thrown before callinglob.usVerifications.verify
(so that it mimics/addressVerification
route functionality completely).