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/models/video/video.ts | |
parent | 60815a79219b13da2127ddbbf3bf6ab8853431c5 (diff) | |
download | PeerTube-7cde3b9c2e84ea20bb0aae4544598483cde9e22c.tar.gz PeerTube-7cde3b9c2e84ea20bb0aae4544598483cde9e22c.tar.zst PeerTube-7cde3b9c2e84ea20bb0aae4544598483cde9e22c.zip |
Update validator dependency
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 1f3c25ecb..fec3dcc20 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -142,7 +142,7 @@ import { MVideoFile, MVideoFileStreamingPlaylistVideo } from '../../typings/mode | |||
142 | import { MThumbnail } from '../../typings/models/video/thumbnail' | 142 | import { MThumbnail } from '../../typings/models/video/thumbnail' |
143 | import { VideoFile } from '@shared/models/videos/video-file.model' | 143 | import { VideoFile } from '@shared/models/videos/video-file.model' |
144 | import { getHLSDirectory, getTorrentFileName, getTorrentFilePath, getVideoFilename, getVideoFilePath } from '@server/lib/video-paths' | 144 | import { getHLSDirectory, getTorrentFileName, getTorrentFilePath, getVideoFilename, getVideoFilePath } from '@server/lib/video-paths' |
145 | import * as validator from 'validator' | 145 | import validator from 'validator' |
146 | 146 | ||
147 | // FIXME: Define indexes here because there is an issue with TS and Sequelize.literal when called directly in the annotation | 147 | // FIXME: Define indexes here because there is an issue with TS and Sequelize.literal when called directly in the annotation |
148 | const indexes: (ModelIndexesOptions & { where?: WhereOptions })[] = [ | 148 | const indexes: (ModelIndexesOptions & { where?: WhereOptions })[] = [ |