moving comments

This commit is contained in:
kukulaka
2020-09-03 04:47:30 +01:00
parent e18fdb4f9c
commit 9686b44974

View File

@@ -1,13 +1,12 @@
import { RequestHandler } from 'express';
import asyncHandler from 'express-async-handler';
import { ExportFailedException } from '../exceptions';
/**
* middleware to manage actions on responses such as
* middleware to manage actions on responses such as
* export / import and caching
* @todo move set caching into here.
*
*/
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) {