diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-10 13:56:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-10 13:58:09 +0200 |
commit | 3ec535f72be4fea5c6afa129d40b81b74431f1d2 (patch) | |
tree | 9baf40c35a1a125fea0c751d28afd7750d8703c2 /server/middlewares | |
parent | 649e812947b1afa1f025f2f3dc833a8cfb772e9c (diff) | |
download | PeerTube-3ec535f72be4fea5c6afa129d40b81b74431f1d2.tar.gz PeerTube-3ec535f72be4fea5c6afa129d40b81b74431f1d2.tar.zst PeerTube-3ec535f72be4fea5c6afa129d40b81b74431f1d2.zip |
Fix E2E tests
Diffstat (limited to 'server/middlewares')
-rw-r--r-- | server/middlewares/async.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/middlewares/async.ts b/server/middlewares/async.ts index 0faa4fb8c..3d6e38809 100644 --- a/server/middlewares/async.ts +++ b/server/middlewares/async.ts | |||
@@ -3,7 +3,6 @@ import { NextFunction, Request, RequestHandler, Response } from 'express' | |||
3 | import { ValidationChain } from 'express-validator' | 3 | import { ValidationChain } from 'express-validator' |
4 | import { ExpressPromiseHandler } from '@server/types/express' | 4 | import { ExpressPromiseHandler } from '@server/types/express' |
5 | import { retryTransactionWrapper } from '../helpers/database-utils' | 5 | import { retryTransactionWrapper } from '../helpers/database-utils' |
6 | import { HttpMethod, HttpStatusCode } from '@shared/core-utils' | ||
7 | 6 | ||
8 | // Syntactic sugar to avoid try/catch in express controllers | 7 | // Syntactic sugar to avoid try/catch in express controllers |
9 | // Thanks: https://medium.com/@Abazhenov/using-async-await-in-express-with-node-8-b8af872c0016 | 8 | // Thanks: https://medium.com/@Abazhenov/using-async-await-in-express-with-node-8-b8af872c0016 |