diff options
author | Chocobozzz <me@florianbigard.com> | 2022-02-09 17:48:15 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-02-09 17:48:15 +0100 |
commit | 9d8ef212ff46cc1b96dc407a85e7486f185c5179 (patch) | |
tree | 61fd2a1a03f84d5fefc6f257fc358b637c791a24 /server/models/video | |
parent | 57a9b61a4aeead74e8800bbfad82ef433313b204 (diff) | |
download | PeerTube-9d8ef212ff46cc1b96dc407a85e7486f185c5179.tar.gz PeerTube-9d8ef212ff46cc1b96dc407a85e7486f185c5179.tar.zst PeerTube-9d8ef212ff46cc1b96dc407a85e7486f185c5179.zip |
Fix broken dep
Diffstat (limited to 'server/models/video')
-rw-r--r-- | server/models/video/video-file.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/models/video/video-file.ts b/server/models/video/video-file.ts index 1a9f4561a..fae76c6f2 100644 --- a/server/models/video/video-file.ts +++ b/server/models/video/video-file.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { remove } from 'fs-extra' | 1 | import { remove } from 'fs-extra' |
2 | import memoizee from 'memoizee' | 2 | import memoizee from 'memoizee' |
3 | import { join } from 'path' | 3 | import { join } from 'path' |
4 | import { FindOptions, Op, Transaction } from 'sequelize' | 4 | import { FindOptions, Op, Transaction, WhereOptions } from 'sequelize' |
5 | import { | 5 | import { |
6 | AllowNull, | 6 | AllowNull, |
7 | BelongsTo, | 7 | BelongsTo, |
@@ -18,7 +18,6 @@ import { | |||
18 | Table, | 18 | Table, |
19 | UpdatedAt | 19 | UpdatedAt |
20 | } from 'sequelize-typescript' | 20 | } from 'sequelize-typescript' |
21 | import { Where } from 'sequelize/types/utils' | ||
22 | import validator from 'validator' | 21 | import validator from 'validator' |
23 | import { buildRemoteVideoBaseUrl } from '@server/helpers/activitypub' | 22 | import { buildRemoteVideoBaseUrl } from '@server/helpers/activitypub' |
24 | import { logger } from '@server/helpers/logger' | 23 | import { logger } from '@server/helpers/logger' |
@@ -70,7 +69,7 @@ export enum ScopeNames { | |||
70 | } | 69 | } |
71 | ] | 70 | ] |
72 | }, | 71 | }, |
73 | [ScopeNames.WITH_VIDEO_OR_PLAYLIST]: (options: { whereVideo?: Where } = {}) => { | 72 | [ScopeNames.WITH_VIDEO_OR_PLAYLIST]: (options: { whereVideo?: WhereOptions } = {}) => { |
74 | return { | 73 | return { |
75 | include: [ | 74 | include: [ |
76 | { | 75 | { |