diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-07 14:56:07 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-07 15:56:07 +0100 |
commit | 7cde3b9c2e84ea20bb0aae4544598483cde9e22c (patch) | |
tree | 0860fd5a78127b2cf944b62eb88dc7e1ac3a3ddc /server/helpers/custom-validators/video-comments.ts | |
parent | 60815a79219b13da2127ddbbf3bf6ab8853431c5 (diff) | |
download | PeerTube-7cde3b9c2e84ea20bb0aae4544598483cde9e22c.tar.gz PeerTube-7cde3b9c2e84ea20bb0aae4544598483cde9e22c.tar.zst PeerTube-7cde3b9c2e84ea20bb0aae4544598483cde9e22c.zip |
Update validator dependency
Diffstat (limited to 'server/helpers/custom-validators/video-comments.ts')
-rw-r--r-- | server/helpers/custom-validators/video-comments.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/custom-validators/video-comments.ts b/server/helpers/custom-validators/video-comments.ts index 8a7cd7105..846f28b17 100644 --- a/server/helpers/custom-validators/video-comments.ts +++ b/server/helpers/custom-validators/video-comments.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import 'multer' | 1 | import 'multer' |
2 | import * as validator from 'validator' | 2 | import validator from 'validator' |
3 | import { CONSTRAINTS_FIELDS } from '../../initializers/constants' | 3 | import { CONSTRAINTS_FIELDS } from '../../initializers/constants' |
4 | 4 | ||
5 | const VIDEO_COMMENTS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_COMMENTS | 5 | const VIDEO_COMMENTS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_COMMENTS |