X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmiddlewares%2Fsort.ts;h=8c27e82379bfbb2b09f04b1bd249ea859ab9f2f3;hb=49be0fd3255db54cf9b038bed792eb0de0faf591;hp=6507aa5b8b54a7396cb0d59dc149757f26d7ae62;hpb=06215f15e0a9fea2ef95b8b49cb2b5868fb64017;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/middlewares/sort.ts b/server/middlewares/sort.ts index 6507aa5b8..8c27e8237 100644 --- a/server/middlewares/sort.ts +++ b/server/middlewares/sort.ts @@ -1,5 +1,4 @@ import * as express from 'express' -import 'express-validator' import { SortType } from '../models/utils' function setDefaultSort (req: express.Request, res: express.Response, next: express.NextFunction) {