-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read properties of undefined (reading 'toString') #40
Comments
Hey, I'm sorry about this, I think if you switch to [email protected] it will work. We upgraded the store interface in express-rate-limit, and [email protected] is using the new interface (only). We're planning on upgrading express-slow-down to also be able to use the new interface, but no one has been able to get to it yet, so things are a bit messy right now. |
No worries, thank you for the response, and for this awesome package! |
This is now fixed properly with the release of express-slow-down v2.0.0 - the library was re-written to be a wrapper around express-rate-limit and thus now has full compatibility with express-rate-limit stores. |
I'm getting this error when trying to set up a simple example with
express-slowdown
andrate-limit-redis
. Here's the full example:Versions of relevant packages:
[email protected]
[email protected]
[email protected]
[email protected]
I'm assuming the error is on my end somewhere, but any help would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: