Closed fer-ri closed 3 years ago
Seems like you need to have it as
const limiter = FirebaseFunctionsRateLimiter.FirebaseFunctionsRateLimiter.withFirestoreBackend(
and then it worked!
I'll try it. Thanks for pointing out.
Ah, the example is wrong. You need to use:
const { FirebaseFunctionsRateLimiter } = require("firebase-functions-rate-limiter");
Hi, thanks for the package.
I have issue when running this with an emulator locally. This is my code
When running
firebase emulators:start
then it gives me errors below:I use javascript mode in my firebase setup.
Any idea for this? Thanks