X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Fcustom-validators%2Fvideo-comments.ts;h=94bdf237a92dfc80f9de8ff4bf8e3928d810149c;hb=41fb13c330de629df2d23379209e79c7af0f2e9a;hp=2b3f6606348799e5590de04eb49357896330ea14;hpb=bf1f650817dadfd5eeee9e5e0b6b6938c136e25d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/custom-validators/video-comments.ts b/server/helpers/custom-validators/video-comments.ts index 2b3f66063..94bdf237a 100644 --- a/server/helpers/custom-validators/video-comments.ts +++ b/server/helpers/custom-validators/video-comments.ts @@ -1,7 +1,5 @@ -import 'express-validator' -import 'multer' -import * as validator from 'validator' -import { CONSTRAINTS_FIELDS } from '../../initializers' +import validator from 'validator' +import { CONSTRAINTS_FIELDS } from '../../initializers/constants' const VIDEO_COMMENTS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_COMMENTS