mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Rename get-rate-limiter-config -> rate-limiter
This commit is contained in:
@@ -8,7 +8,7 @@ import { RequestHandler } from 'express';
|
||||
import asyncHandler from 'express-async-handler';
|
||||
import { HitRateLimitException } from '../exceptions';
|
||||
import { RedisNotFoundException } from '../exceptions';
|
||||
import rateLimiterConfig from '../get-rate-limiter-config';
|
||||
import rateLimiterConfig from '../rate-limiter';
|
||||
|
||||
const rateLimiter: RequestHandler = asyncHandler(async (req, res, next) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user