X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmiddlewares%2Fvalidators%2Fvideos%2Fvideo-rates.ts;h=204b4a78de1e069f1ccbb8f99c779473e62610ae;hb=22834691abb6e74d31654ffd2ebeaaaa8ef3ac7b;hp=e79d80e975cce7de0923f7d44e60f8d3924b87cb;hpb=c100a6142e6571312db9f6407698a21a08b593fb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/middlewares/validators/videos/video-rates.ts b/server/middlewares/validators/videos/video-rates.ts index e79d80e97..204b4a78d 100644 --- a/server/middlewares/validators/videos/video-rates.ts +++ b/server/middlewares/validators/videos/video-rates.ts @@ -1,7 +1,7 @@ import * as express from 'express' import 'express-validator' import { body, param, query } from 'express-validator/check' -import { isIdOrUUIDValid, isIdValid } from '../../../helpers/custom-validators/misc' +import { isIdOrUUIDValid } from '../../../helpers/custom-validators/misc' import { isRatingValid } from '../../../helpers/custom-validators/video-rates' import { doesVideoExist, isVideoRatingTypeValid } from '../../../helpers/custom-validators/videos' import { logger } from '../../../helpers/logger'