X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmiddlewares%2Fasync.ts;h=9d01935366725ac3b5d28a20b37c5f1152507939;hb=f98ff8a1a5bd3c9c503f8e00d729a2fb3f7fd959;hp=3d6e388096b1a91dbcaa3c1a63aeab57885cae59;hpb=5182473faf8fdbede2f4654d9113b7e7daa68dbe;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/middlewares/async.ts b/server/middlewares/async.ts index 3d6e38809..9d0193536 100644 --- a/server/middlewares/async.ts +++ b/server/middlewares/async.ts @@ -1,7 +1,7 @@ import { eachSeries } from 'async' import { NextFunction, Request, RequestHandler, Response } from 'express' import { ValidationChain } from 'express-validator' -import { ExpressPromiseHandler } from '@server/types/express' +import { ExpressPromiseHandler } from '@server/types/express-handler' import { retryTransactionWrapper } from '../helpers/database-utils' // Syntactic sugar to avoid try/catch in express controllers