diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-01 11:57:21 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-01 15:03:28 +0100 |
commit | 6949a1a1113cc6af3442dc3d5446b8fe6143f28e (patch) | |
tree | 70f8fecc38ff3f5dd848343caa338fc8993a2124 /server/models | |
parent | 56df7815b56f35d4e1b539087aac16f4ceabf7be (diff) | |
download | PeerTube-6949a1a1113cc6af3442dc3d5446b8fe6143f28e.tar.gz PeerTube-6949a1a1113cc6af3442dc3d5446b8fe6143f28e.tar.zst PeerTube-6949a1a1113cc6af3442dc3d5446b8fe6143f28e.zip |
Fix tests
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/redundancy/video-redundancy.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/models/redundancy/video-redundancy.ts b/server/models/redundancy/video-redundancy.ts index d3b839cfe..98c6ff134 100644 --- a/server/models/redundancy/video-redundancy.ts +++ b/server/models/redundancy/video-redundancy.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { sample } from 'lodash' | 1 | import { sample } from 'lodash' |
2 | import { col, FindOptions, fn, literal, Op, QueryTypes, Transaction, WhereOptions } from 'sequelize' | 2 | import { FindOptions, literal, Op, QueryTypes, Transaction, WhereOptions } from 'sequelize' |
3 | import { | 3 | import { |
4 | AllowNull, | 4 | AllowNull, |
5 | BeforeDestroy, | 5 | BeforeDestroy, |
@@ -36,7 +36,6 @@ import { VideoModel } from '../video/video' | |||
36 | import { VideoChannelModel } from '../video/video-channel' | 36 | import { VideoChannelModel } from '../video/video-channel' |
37 | import { VideoFileModel } from '../video/video-file' | 37 | import { VideoFileModel } from '../video/video-file' |
38 | import { VideoStreamingPlaylistModel } from '../video/video-streaming-playlist' | 38 | import { VideoStreamingPlaylistModel } from '../video/video-streaming-playlist' |
39 | import { forEachSeries } from 'async' | ||
40 | 39 | ||
41 | export enum ScopeNames { | 40 | export enum ScopeNames { |
42 | WITH_VIDEO = 'WITH_VIDEO' | 41 | WITH_VIDEO = 'WITH_VIDEO' |