Open dino-rodriguez opened 4 years ago
Repeated code when validating Payment Pointers received in the request. This should happen in a middleware anytime a request is received, as opposed to being repeated throughout individual functions.
It may be worth looking into joi as a dependency for this and for #129 when we get around to this.
joi
Repeated code when validating Payment Pointers received in the request. This should happen in a middleware anytime a request is received, as opposed to being repeated throughout individual functions.