vuestorefront / storefront-api

Storefront GraphQL API Gateway. Modular architecture. ElasticSearch included. Works great with Magento1, Magento2, Spree, OpenCart, Pimcore and custom backends
https://storefrontapi.com
MIT License
8 stars 1 forks source link

add missing argument for catchInvalidRequests #66

Closed gibkigonzo closed 4 years ago

gibkigonzo commented 4 years ago

Short description and why it's useful

In https://github.com/DivanteLtd/storefront-api/pull/59 I didn't add last argument next which wasn't used, but it is requires because if we have 3 will not get error as first argument. app.use((err, req, res, next)) app.use((req, res,next))

IMPORTANT NOTICE - Remember to update CHANGELOG.md with a description of your change

Contribution and currently important rules acceptance