mirror of
https://github.com/directus/directus.git
synced 2026-01-29 06:37:56 -05:00
remove exception
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
* middleware to manage actions on responses such as
|
||||
* export / import and caching
|
||||
* @todo move set caching into here.
|
||||
* @todo error catching for export
|
||||
*
|
||||
*/
|
||||
import { RequestHandler } from 'express';
|
||||
import asyncHandler from 'express-async-handler';
|
||||
import { ExportFailedException } from '../exceptions';
|
||||
|
||||
const responseManager: RequestHandler = asyncHandler(async (req, res, next) => {
|
||||
if (!req.query.export) {
|
||||
|
||||
Reference in New Issue
Block a user