aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-01 11:57:21 +0100
committerChocobozzz <me@florianbigard.com>2021-02-01 15:03:28 +0100
commit6949a1a1113cc6af3442dc3d5446b8fe6143f28e (patch)
tree70f8fecc38ff3f5dd848343caa338fc8993a2124 /server/models
parent56df7815b56f35d4e1b539087aac16f4ceabf7be (diff)
downloadPeerTube-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.ts3
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 @@
1import { sample } from 'lodash' 1import { sample } from 'lodash'
2import { col, FindOptions, fn, literal, Op, QueryTypes, Transaction, WhereOptions } from 'sequelize' 2import { FindOptions, literal, Op, QueryTypes, Transaction, WhereOptions } from 'sequelize'
3import { 3import {
4 AllowNull, 4 AllowNull,
5 BeforeDestroy, 5 BeforeDestroy,
@@ -36,7 +36,6 @@ import { VideoModel } from '../video/video'
36import { VideoChannelModel } from '../video/video-channel' 36import { VideoChannelModel } from '../video/video-channel'
37import { VideoFileModel } from '../video/video-file' 37import { VideoFileModel } from '../video/video-file'
38import { VideoStreamingPlaylistModel } from '../video/video-streaming-playlist' 38import { VideoStreamingPlaylistModel } from '../video/video-streaming-playlist'
39import { forEachSeries } from 'async'
40 39
41export enum ScopeNames { 40export enum ScopeNames {
42 WITH_VIDEO = 'WITH_VIDEO' 41 WITH_VIDEO = 'WITH_VIDEO'