mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix remaining eslint errors
h/t @paescuj
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { RequestHandler } from 'express';
|
||||
import asyncHandler from '../utils/async-handler';
|
||||
import env from '../env';
|
||||
import { getCacheKey } from '../utils/get-cache-key';
|
||||
|
||||
import cache from '../cache';
|
||||
import env from '../env';
|
||||
import asyncHandler from '../utils/async-handler';
|
||||
import { getCacheKey } from '../utils/get-cache-key';
|
||||
|
||||
const checkCacheMiddleware: RequestHandler = asyncHandler(async (req, res, next) => {
|
||||
if (req.method.toLowerCase() !== 'get') return next();
|
||||
|
||||
Reference in New Issue
Block a user