1 import 'express-validator'
2 import * as express from 'express'
4 function setVideosSearch (req: express.Request, res: express.Response, next: express.NextFunction) {
5 if (!req.query.field) req.query.field = 'name'
10 // ---------------------------------------------------------------------------