Closed iamorchio88 closed 1 year ago
I've checked the code and route.rateLimit
is fine. The createRoute
method merges the route.opts.rateLimit
with the this.settings.rateLimit
global config and puts the merged config to route.rateLimit
in line 1343, so the route.rateLimit
is the final config after merging.
In addition to the fix , we have to pass the instance of store . Example: ` module.exports = { name: "api", mixins: [ApiGateway],
settings: { port: process.env.GATEWAY_PORT || 3000,
}, methods: {}, }; `