mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 17:22:04 -07:00
Getting ready to refactor another tier
This commit is contained in:
@@ -233,7 +233,7 @@ class RateLimits {
|
||||
This is the new rate limit function that uses the rate-limiter-flexible npm
|
||||
library.
|
||||
*/
|
||||
async newRateLimit(req, res, next) {
|
||||
async rateLimitByResource(req, res, next) {
|
||||
try {
|
||||
let userId
|
||||
let decoded = {}
|
||||
|
||||
Reference in New Issue
Block a user